Updated curated country file.

This commit is contained in:
Niels Simenon 2022-11-03 16:45:49 +01:00
parent aa5559f286
commit 97a76fd88c
3 changed files with 5 additions and 3 deletions

View File

@ -202,7 +202,8 @@
"file": "3ba0.png",
"code": 384,
"alpha2": "CI",
"name": "Côte d'Ivoire"
"name": "Ivory Coast",
"fullName": "Ivory Coast (Côte d'Ivoire)"
},
{
"file": "5bc5.png",

View File

@ -276,7 +276,8 @@
{
"alpha2": "CI",
"code": 384,
"name": "Côte d'Ivoire"
"name": "Ivory Coast",
"fullName": "Ivory Coast (Côte d'Ivoire)"
},
{
"alpha2": "HR",

View File

@ -19,7 +19,7 @@ const questions = [
function hint(game, context) {
if (game.name.length >= 5) {
context.sendMessage(`${style.bold(`${game.name.slice(0, 1)}${game.name.slice(1, -1).replace(/\s/g, '').replace(/[^\s]/g, '_')}${game.name.slice(-1)}`.toUpperCase())}, the country code s ${style.bold(game.alpha2)}`, context.room.id); // eslint-disable-line no-irregular-whitespace
context.sendMessage(`${style.bold(`${game.name.slice(0, 1)}${game.name.slice(1, -1).replace(/\s/g, '').replace(/[^\s]/g, '_')}${game.name.slice(-1)}`.toUpperCase())}, the country code is ${style.bold(game.alpha2)}`, context.room.id); // eslint-disable-line no-irregular-whitespace
return;
}