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
|
@ -46,7 +46,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin<IAutoReactionsPluginConf
|
|||
this.savedMessages.events.off("create", this.onMessageCreateFn);
|
||||
}
|
||||
|
||||
@d.command("auto_reactions", "<channelId:channelId> <reactions...>")
|
||||
@d.command("auto_reactions", "<channelId:channelid> <reactions...>")
|
||||
@d.permission("use")
|
||||
async setAutoReactionsCmd(msg: Message, args: { channelId: string; reactions: string[] }) {
|
||||
const finalReactions = [];
|
||||
|
@ -80,7 +80,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin<IAutoReactionsPluginConf
|
|||
msg.channel.createMessage(successMessage(`Auto-reactions set for <#${args.channelId}>`));
|
||||
}
|
||||
|
||||
@d.command("auto_reactions disable", "<channelId:channelId>")
|
||||
@d.command("auto_reactions disable", "<channelId:channelid>")
|
||||
@d.permission("use")
|
||||
async disableAutoReactionsCmd(msg: Message, args: { channelId: string }) {
|
||||
const autoReaction = await this.autoReactions.getForChannel(args.channelId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue