Added help commands.
This commit is contained in:
@@ -194,7 +194,7 @@ function onCommand(args, context) {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -214,4 +214,5 @@ module.exports = {
|
||||
commands: ['mash', ...defineCommands, ...resolveCommands],
|
||||
onCommand,
|
||||
onMessage,
|
||||
help: `Resolve the anagram. Get a new mash with ${config.prefix}mash [length], look up definitions with ${config.prefix}define [word], resolve an anagram (that's not currently in play) with ${config.prefix}solve [anagram].`,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user