From 892c06a1109480ba581f99b09d55c929c9a37f0a Mon Sep 17 00:00:00 2001 From: Max Isom Date: Fri, 7 Jan 2022 12:38:07 -0600 Subject: Bump discord.js --- src/utils/channels.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/channels.ts b/src/utils/channels.ts index 2d074b4..f4e576a 100644 --- a/src/utils/channels.ts +++ b/src/utils/channels.ts @@ -42,10 +42,10 @@ export const getMostPopularVoiceChannel = (guild: Guild): [VoiceChannel, number] for (const [_, channel] of guild.channels.cache) { if (channel.type === 'GUILD_VOICE') { - const size = getSizeWithoutBots(channel as VoiceChannel); + const size = getSizeWithoutBots(channel); voiceChannels.push({ - channel: channel as VoiceChannel, + channel, n: size, }); } -- cgit v1.2.3