const guild = await interaction.guild?.fetch();
const channelFetch = await guild?.channels.fetch(tempVoice.id) as VoiceChannel;
await new Promise(res => setTimeout(res, 5000));
console.log("🔧 Changing name...");
await channelFetch.setName(newName).catch((e) => console.log("❌ Error changing name", e));
console.log("✅ Name changed!");
await tempVoice.save();
const guild = await interaction.guild?.fetch();
const channelFetch = await guild?.channels.fetch(tempVoice.id) as VoiceChannel;
await new Promise(res => setTimeout(res, 5000));
console.log("🔧 Changing name...");
await channelFetch.setName(newName).catch((e) => console.log("❌ Error changing name", e));
console.log("✅ Name changed!");
await tempVoice.save();