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