mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Remove unused code
This commit is contained in:
@@ -138,7 +138,7 @@ export async function joinVoiceChannelProcedure(
|
|||||||
if (channel instanceof DMChannel) return;
|
if (channel instanceof DMChannel) return;
|
||||||
if (!(channel instanceof BaseGuildTextChannel || channel instanceof BaseGuildVoiceChannel)) return;
|
if (!(channel instanceof BaseGuildTextChannel || channel instanceof BaseGuildVoiceChannel)) return;
|
||||||
|
|
||||||
const memberVoiceChannel = member.voice.channel; //isMessage ? member.voice.channel : DiscordProvider.client.guilds.cache.get(guild.id)!.members.cache.get((data as Interaction).user.id)?.voice.channel;
|
const memberVoiceChannel = member.voice.channel;
|
||||||
if (!memberVoiceChannel) return;
|
if (!memberVoiceChannel) return;
|
||||||
|
|
||||||
const bot = guild.members.me;
|
const bot = guild.members.me;
|
||||||
|
|||||||
Reference in New Issue
Block a user