Use command aliases/overloads where applicable
This commit is contained in:
parent
ad10a79b6c
commit
503f1ff170
5 changed files with 18 additions and 13 deletions
|
@ -214,8 +214,9 @@ export class SelfGrantableRolesPlugin extends ZeppelinPlugin<ISelfGrantableRoles
|
|||
lock.unlock();
|
||||
}
|
||||
|
||||
@d.command("role help")
|
||||
@d.command("role")
|
||||
@d.command("role help", [], {
|
||||
aliases: ["role"],
|
||||
})
|
||||
@d.cooldown(5000, "can_ignore_cooldown")
|
||||
async roleHelpCmd(msg: Message) {
|
||||
const channelGrantableRoles = await this.selfGrantableRoles.getForChannel(msg.channel.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue