diff --git a/src/plugins/AutoReactionsPlugin.ts b/src/plugins/AutoReactionsPlugin.ts index e354f842..8ce03e5b 100644 --- a/src/plugins/AutoReactionsPlugin.ts +++ b/src/plugins/AutoReactionsPlugin.ts @@ -46,7 +46,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin ") + @d.command("auto_reactions", " ") @d.permission("use") async setAutoReactionsCmd(msg: Message, args: { channelId: string; reactions: string[] }) { const finalReactions = []; @@ -80,7 +80,7 @@ export class AutoReactionsPlugin extends ZeppelinPlugin`)); } - @d.command("auto_reactions disable", "") + @d.command("auto_reactions disable", "") @d.permission("use") async disableAutoReactionsCmd(msg: Message, args: { channelId: string }) { const autoReaction = await this.autoReactions.getForChannel(args.channelId); diff --git a/src/plugins/NameHistory.ts b/src/plugins/NameHistory.ts index 16e580e8..b46f695a 100644 --- a/src/plugins/NameHistory.ts +++ b/src/plugins/NameHistory.ts @@ -35,7 +35,7 @@ export class NameHistoryPlugin extends ZeppelinPlugin this.nameHistory = GuildNameHistory.getInstance(this.guildId); } - @d.command("names", "") + @d.command("names", "") @d.permission("can_view") async namesCmd(msg: Message, args: { userId: string }) { const names = await this.nameHistory.getByUserId(args.userId); diff --git a/src/plugins/PingableRolesPlugin.ts b/src/plugins/PingableRolesPlugin.ts index 3fa093de..3cd0287b 100644 --- a/src/plugins/PingableRolesPlugin.ts +++ b/src/plugins/PingableRolesPlugin.ts @@ -50,7 +50,7 @@ export class PingableRolesPlugin extends ZeppelinPlugin ") + @d.command("pingable_role disable", " ") @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 ") + @d.command("pingable_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); diff --git a/src/plugins/Slowmode.ts b/src/plugins/Slowmode.ts index 0838c80e..1cf6a45e 100644 --- a/src/plugins/Slowmode.ts +++ b/src/plugins/Slowmode.ts @@ -166,7 +166,7 @@ export class SlowmodePlugin extends ZeppelinPlugin { /** * COMMAND: Clear slowmode from a specific user on a specific channel */ - @d.command("slowmode clear", " ") + @d.command("slowmode clear", " ") @d.permission("can_manage") async clearSlowmodeCmd(msg: Message, args: { channel: GuildChannel & TextChannel; user: User }) { const channelSlowmode = await this.slowmodes.getChannelSlowmode(args.channel.id); diff --git a/src/plugins/Starboard.ts b/src/plugins/Starboard.ts index b5085dfc..54f2b514 100644 --- a/src/plugins/Starboard.ts +++ b/src/plugins/Starboard.ts @@ -174,7 +174,7 @@ export class StarboardPlugin extends ZeppelinPlugin { /** * Deletes the starboard from the specified channel. The already-posted starboard messages are retained. */ - @d.command("starboard delete", "") + @d.command("starboard delete", "") @d.permission("can_manage") async deleteCmd(msg: Message, args: { channelId: string }) { const starboard = await this.starboards.getStarboardByChannelId(args.channelId); @@ -333,7 +333,7 @@ export class StarboardPlugin extends ZeppelinPlugin { } } - @d.command("starboard migrate_pins", " ") + @d.command("starboard migrate_pins", " ") async migratePinsCmd(msg: Message, args: { pinChannelId: string; starboardChannelId }) { const starboard = await this.starboards.getStarboardByChannelId(args.starboardChannelId); if (!starboard) {