mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 11:43:38 +00:00
Moved createAudioResource from discord.js/voice to play function
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
const {
|
||||
createAudioPlayer,
|
||||
createAudioResource,
|
||||
getVoiceConnection,
|
||||
joinVoiceChannel
|
||||
} = require("@discordjs/voice");
|
||||
@ -141,7 +140,7 @@ module.exports = {
|
||||
radio.station = station;
|
||||
radio.textChannel = interaction.channel;
|
||||
radio.startTime = date.getTime();
|
||||
play(interaction, interaction.guild, client, url, Discord);
|
||||
client.funcs.play(interaction, interaction.guild, client, url, Discord);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user