mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
feat(Voice): implement support for @discordjs/voice (#5402)
This commit is contained in:
@@ -37,7 +37,7 @@ class GuildDeleteAction extends Action {
|
||||
}
|
||||
|
||||
for (const channel of guild.channels.cache.values()) this.client.channels.remove(channel.id);
|
||||
guild.me?.voice.connection?.disconnect();
|
||||
client.voice.adapters.get(data.id)?.destroy();
|
||||
|
||||
// Delete guild
|
||||
client.guilds.cache.delete(guild.id);
|
||||
|
||||
Reference in New Issue
Block a user