From 9ac7b12701da47dfc1cc470614e037082e523db4 Mon Sep 17 00:00:00 2001 From: Mestima Date: Tue, 28 Mar 2023 23:51:32 +0300 Subject: [PATCH] ping command api parameter added --- src/commands/ping/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/ping/index.js b/src/commands/ping/index.js index 5d3f4d6..2b24af1 100644 --- a/src/commands/ping/index.js +++ b/src/commands/ping/index.js @@ -4,7 +4,7 @@ export default { data: new SlashCommandBuilder() .setName('ping') .setDescription('Replies with Pong!'), - async execute(interaction) { + async execute(interaction, api) { await interaction.reply('Pong!'); } };