Skip to content

Commit

Permalink
chore(docs): command params for ping cc
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Feb 10, 2021
1 parent 504624b commit 5289eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/CustomCommands/PingCustomCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class PingCustomCommand extends Command {
constructor(bot) {
super(bot, 'settings.cc.ping', 'ping cc', 'Toggle whether or not custom commands mention either the user or the mentioned person.', 'CUST_CMDS');
this.usages = [
{ description: 'Change if this channel\'s use custom commands will ping', parameters: ['custom commands enabled'] },
{ description: 'Change if this channel\'s use custom commands will ping', parameters: ['on', 'off'] },
];
this.regex = new RegExp(`^${this.call}\\s?(on|off)?(?:\\s+in\\s+((?:\\<\\#)?\\d+(?:\\>)?|here))?$`, 'i');
this.requiresAuth = true;
Expand Down

0 comments on commit 5289eb5

Please sign in to comment.