Updated curated country file.
This commit is contained in:
parent
aa5559f286
commit
97a76fd88c
|
@ -202,7 +202,8 @@
|
||||||
"file": "3ba0.png",
|
"file": "3ba0.png",
|
||||||
"code": 384,
|
"code": 384,
|
||||||
"alpha2": "CI",
|
"alpha2": "CI",
|
||||||
"name": "Côte d'Ivoire"
|
"name": "Ivory Coast",
|
||||||
|
"fullName": "Ivory Coast (Côte d'Ivoire)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"file": "5bc5.png",
|
"file": "5bc5.png",
|
||||||
|
|
|
@ -276,7 +276,8 @@
|
||||||
{
|
{
|
||||||
"alpha2": "CI",
|
"alpha2": "CI",
|
||||||
"code": 384,
|
"code": 384,
|
||||||
"name": "Côte d'Ivoire"
|
"name": "Ivory Coast",
|
||||||
|
"fullName": "Ivory Coast (Côte d'Ivoire)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alpha2": "HR",
|
"alpha2": "HR",
|
||||||
|
|
|
@ -19,7 +19,7 @@ const questions = [
|
||||||
|
|
||||||
function hint(game, context) {
|
function hint(game, context) {
|
||||||
if (game.name.length >= 5) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue