Swapped URL and question in Geo.
This commit is contained in:
parent
631dc58d3c
commit
43d307f68c
|
@ -11,7 +11,7 @@ const games = new Map();
|
||||||
|
|
||||||
const questions = [
|
const questions = [
|
||||||
'What\'s this country?',
|
'What\'s this country?',
|
||||||
'Name this country:',
|
'Name this country.',
|
||||||
'Where are we going on holiday?',
|
'Where are we going on holiday?',
|
||||||
'What\'s our destination?',
|
'What\'s our destination?',
|
||||||
'I\'d never heard of that place, what\'s it called?',
|
'I\'d never heard of that place, what\'s it called?',
|
||||||
|
@ -45,7 +45,7 @@ function play(context) {
|
||||||
regexp: new RegExp(country.name, 'i'),
|
regexp: new RegExp(country.name, 'i'),
|
||||||
});
|
});
|
||||||
|
|
||||||
context.sendMessage(`${pickRandom(questions)} ${url}`, context.room.id);
|
context.sendMessage(`${url} ${pickRandom(questions)}`, context.room.id);
|
||||||
context.logger.info(`Geo played '${country.name}' (${url})`);
|
context.logger.info(`Geo played '${country.name}' (${url})`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue