Fixed check for ongoing mash game.
This commit is contained in:
@@ -148,7 +148,7 @@ function onCommand(args, context) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!word || !mash) {
|
if (!word && !mash) {
|
||||||
context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id);
|
context.sendMessage(`Start a mash with ${config.prefix}mash {length}`, context.room.id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user