Compare commits
2 Commits
cb023f0c28
...
56d8bd34be
Author | SHA1 | Date |
---|---|---|
|
56d8bd34be | |
|
60c6f84702 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.5.14",
|
||||
"version": "1.5.15",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "schat2-clive",
|
||||
"version": "1.5.14",
|
||||
"version": "1.5.15",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"bhttp": "^1.2.8",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.5.14",
|
||||
"version": "1.5.15",
|
||||
"description": "Game host for SChat 2-powered chat sites",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -172,13 +172,13 @@ function onCommand(args, context) {
|
|||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue