mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Fix some argument type names
This commit is contained in:
parent
325a540880
commit
a410a4e994
5 changed files with 8 additions and 8 deletions
|
@ -50,7 +50,7 @@ export class PingableRolesPlugin extends ZeppelinPlugin<IPingableRolesPluginConf
|
|||
return this.cache.get(channelId);
|
||||
}
|
||||
|
||||
@d.command("pingable_role disable", "<channelId:channelId> <role:role>")
|
||||
@d.command("pingable_role disable", "<channelId:channelid> <role:role>")
|
||||
@d.permission("can_manage")
|
||||
async disablePingableRoleCmd(msg: Message, args: { channelId: string; role: Role }) {
|
||||
const pingableRole = await this.pingableRoles.getByChannelAndRoleId(args.channelId, args.role.id);
|
||||
|
@ -67,7 +67,7 @@ export class PingableRolesPlugin extends ZeppelinPlugin<IPingableRolesPluginConf
|
|||
);
|
||||
}
|
||||
|
||||
@d.command("pingable_role", "<channelId:channelId> <role:role>")
|
||||
@d.command("pingable_role", "<channelId:channelid> <role:role>")
|
||||
@d.permission("can_manage")
|
||||
async setPingableRoleCmd(msg: Message, args: { channelId: string; role: Role }) {
|
||||
const existingPingableRole = await this.pingableRoles.getByChannelAndRoleId(args.channelId, args.role.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue