Compare commits

..

No commits in common. "56d8bd34be22c8c6fa88f6cbebf8d9fc1f772886" and "cb023f0c2817d1f7d8b7621e0c499b953e6a13b9" have entirely different histories.

3 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -172,13 +172,13 @@ function onCommand(args, context) {
return;
}
if (!word && mash) {
context.sendMessage(`The current mash is: **${mash.anagram}**`, context.room.id);
if (!word && !mash) {
context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id);
return;
}
if (!word || !mash) {
context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id);
if (!word && mash) {
context.sendMessage(`The current mash is: **${mash.anagram}**`, context.room.id);
return;
}