Bump discord.js

This commit is contained in:
Max Isom 2022-01-07 12:38:07 -06:00
parent c1f64486e1
commit 892c06a110
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
5 changed files with 145 additions and 205 deletions

View file

@ -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,
});
}