mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 02:20:18 +00:00
Updated play function
This commit is contained in:
parent
17132cd51a
commit
16bc2aab52
@ -1,8 +1,9 @@
|
||||
import Discord from "discord.js";
|
||||
const {
|
||||
createAudioResource
|
||||
} = require("@discordjs/voice");
|
||||
|
||||
module.exports = async function play(interaction, guild, client, url, Discord) {
|
||||
module.exports = async function play(interaction, guild, client, url) {
|
||||
let message = {};
|
||||
const radio = client.radio.get(guild.id);
|
||||
const resource = createAudioResource(url);
|
||||
|
Loading…
Reference in New Issue
Block a user