diff --git a/src/plugins/Mutes.ts b/src/plugins/Mutes.ts index fe043b55..e263fa6a 100644 --- a/src/plugins/Mutes.ts +++ b/src/plugins/Mutes.ts @@ -170,11 +170,15 @@ export class MutesPlugin extends ZeppelinPlugin { @d.command("clear_banned_mutes") @d.permission("cleanup") async clearBannedMutesCmd(msg: Message) { + await msg.channel.createMessage("Clearing mutes from banned users..."); + const activeMutes = await this.mutes.getActiveMutes(); const bans = await this.guild.getBans(); const bannedIds = bans.map(b => b.id); - await msg.channel.createMessage("Clearing mutes from banned users..."); + await msg.channel.createMessage( + `Found ${activeMutes.length} mutes and ${bannedIds.length} bans, cross-referencing...` + ); let cleared = 0; for (const mute of activeMutes) {