From b7f3ca2f20bf096b1e11c285130f0e24d8de5212 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 9 May 2024 13:28:38 -0600 Subject: [PATCH] whoops --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 7a173a3..077a650 100644 --- a/index.js +++ b/index.js @@ -746,7 +746,7 @@ discord.on("interactionCreate", async (interaction) => { channel = interaction.member.voice.channel; if (!channel) return interaction.reply({ content: "You need to be in a voice channel", ephemeral: true }); // Join the channel and play the stream - JoinChannel(channel, url, 2).then((res) => { + JoinChannel(channel, url, 2, interaction).then((res) => { if (res.status) { interaction.reply({ content: res.message, ephemeral: true }); } else { @@ -764,7 +764,7 @@ discord.on("interactionCreate", async (interaction) => { channel = interaction.member.voice.channel; if (!channel) return interaction.reply({ content: "You need to be in a voice channel", ephemeral: true }); // Join the channel and play the stream - JoinChannel(channel, url, 2).then((res) => { + JoinChannel(channel, url, 2, interaction).then((res) => { if (res.status) { interaction.reply({ content: res.message, ephemeral: true }); } else {