Added :commands as standard help subcommand alias.
This commit is contained in:
@@ -215,7 +215,7 @@ function onMessage(message, bot, games) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (game && game.help && subcommand === 'help') {
|
||||
if (game && game.help && ['help', 'commands'].includes(subcommand)) {
|
||||
game.sendMessage(game.help, room.id, { styleCommands: true });
|
||||
|
||||
if (game.blockHelp !== false) {
|
||||
|
||||
Reference in New Issue
Block a user