diff options
Diffstat (limited to 'src/utils/channels.ts')
| -rw-r--r-- | src/utils/channels.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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, }); } |
