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

+3 -3
View File
@@ -15,7 +15,7 @@ module.exports = {
),
run: async ({ interaction }) => {
if (!interaction.member.voice.channel) {
return interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setDescription(
@@ -75,7 +75,7 @@ module.exports = {
let currentTrack = queue.currentTrack;
if (!currentTrack) {
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor({
@@ -95,7 +95,7 @@ module.exports = {
length: 13
});
await interaction.editReply({
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor({