mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
removed unnecessary type annotation
This commit is contained in:
parent
ca30dd204e
commit
d9d1793e59
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export const ClearBannedMutesCmd = mutesCmd({
|
|||
|
||||
const activeMutes = await pluginData.state.mutes.getActiveMutes();
|
||||
|
||||
const bans: Array<{ reason: string; user: User }> = (await pluginData.guild.bans.fetch({ cache: true })) as any;
|
||||
const bans = await pluginData.guild.bans.fetch({ cache: true });
|
||||
const bannedIds = bans.map(b => b.user.id);
|
||||
|
||||
await msg.channel.send(`Found ${activeMutes.length} mutes and ${bannedIds.length} bans, cross-referencing...`);
|
||||
|
|
Loading…
Add table
Reference in a new issue