Compare commits

..

No commits in common. "157ae8bfcc052b6ed30920053551de39be0a1373" and "631dc58d3c92e09c45aecd2e7827254c033b5d8a" have entirely different histories.

3 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "schat2-clive", "name": "schat2-clive",
"version": "1.20.2", "version": "1.20.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "schat2-clive", "name": "schat2-clive",
"version": "1.20.2", "version": "1.20.1",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"bhttp": "^1.2.8", "bhttp": "^1.2.8",

View File

@ -1,6 +1,6 @@
{ {
"name": "schat2-clive", "name": "schat2-clive",
"version": "1.20.2", "version": "1.20.1",
"description": "Game host for SChat 2-powered chat sites", "description": "Game host for SChat 2-powered chat sites",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {

View File

@ -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(`${url} ${pickRandom(questions)}`, context.room.id); context.sendMessage(`${pickRandom(questions)} ${url}`, context.room.id);
context.logger.info(`Geo played '${country.name}' (${url})`); context.logger.info(`Geo played '${country.name}' (${url})`);
} }