Skip to content

Commit

Permalink
discord: commands > add more aliases to text-only 'help'
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Mar 3, 2024
1 parent ba5adf0 commit e0dc510
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Discord/Commands/Help.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ class HelpCommand extends Command {
};

this.setConf({
aliases: ['h'],
aliases: ['h', 'init', 'remove'],
msgTrigger: true,
});
}

async run(msg) {
msg.reply(
'Yappy now uses slash commands! Use `/` to see available commands.'
[
'Yappy now uses slash commands! Use `/` to see available commands.',
'To setup repositories, use `/setup`. To configure the filtering options, use `/conf filter`.',
].join('\n')
);
}
}
Expand Down

0 comments on commit e0dc510

Please sign in to comment.