aboutsummaryrefslogtreecommitdiff
path: root/commands/help.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-03-29 20:41:38 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-03-29 20:41:38 -0400
commitfd89e36490da711ba611c1f7c8dda93a3de054f0 (patch)
treee8c1114add718665c75bb90e7af90a9f38101815 /commands/help.js
parent84b7017c7016aea12339ec4a3ef2ba1bf0fb3872 (diff)
downloadDLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.tar.gz
DLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.tar.bz2
DLAP-fd89e36490da711ba611c1f7c8dda93a3de054f0.zip
New command; Every Discord interation is async
Diffstat (limited to 'commands/help.js')
-rw-r--r--commands/help.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/help.js b/commands/help.js
index b1ba51f..e23b105 100644
--- a/commands/help.js
+++ b/commands/help.js
@@ -20,7 +20,7 @@
***************************************************************************/
import { SlashCommandBuilder } from '@discordjs/builders'
-import { MessageEmbed } from "discord.js";
+import { MessageEmbed } from 'discord.js';
import { audio } from '../AudioBackend.js'
export default {
@@ -36,6 +36,6 @@ export default {
.setFooter({text:'© Copyright 2020-2022 Andrew Lee. Licensed with GPL-3.0.'})
.setColor('#0066ff')
- return interaction.reply({ embeds: [helpEmbed]});
+ return await interaction.reply({ embeds: [helpEmbed]});
},
}; \ No newline at end of file