Update interaction editReply

This commit is contained in:
Marius Begby committed 2023-07-09 13:55:22 +02:00
1 parent 40c5593f24
commit 6e48a83d10
8 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ module.exports = {
// todo, allow command to be executed if bot is only member in voice channel
run: async ({ interaction }) => {
if (!interaction.member.voice.channel) {
return interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setDescription(
@@ -41,7 +41,7 @@ module.exports = {
if (!queue.deleted) {
queue.delete();
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setDescription(