Added :commands as standard help subcommand alias.

This commit is contained in:
ThePendulum 2022-10-22 01:33:50 +02:00
parent 7eff09eba1
commit 954043b16a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {