Require can_use perm for !role help in self grantable roles
This commit is contained in:
parent
ce80d3d521
commit
f80d141c82
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ export class SelfGrantableRolesPlugin extends ZeppelinPlugin<ISelfGrantableRoles
|
|||
@d.command("role help", [], {
|
||||
aliases: ["role"],
|
||||
})
|
||||
@d.permission("can_use")
|
||||
@d.cooldown(5000, "can_ignore_cooldown")
|
||||
async roleHelpCmd(msg: Message) {
|
||||
const channelGrantableRoles = await this.selfGrantableRoles.getForChannel(msg.channel.id);
|
||||
|
|
Loading…
Add table
Reference in a new issue