From fd89e36490da711ba611c1f7c8dda93a3de054f0 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 29 Mar 2022 20:41:38 -0400 Subject: New command; Every Discord interation is async --- commands/help.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/help.js') 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 -- cgit v1.2.3