From 9f6eb496fdd9414d448fff403e695dfd573e45ab Mon Sep 17 00:00:00 2001 From: Lukian LEIZOUR Date: Sun, 10 Mar 2024 21:28:46 +0100 Subject: [PATCH] bug resolution --- src/commands/default/ping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/default/ping.ts b/src/commands/default/ping.ts index e395445..4bc8ec3 100644 --- a/src/commands/default/ping.ts +++ b/src/commands/default/ping.ts @@ -1,10 +1,10 @@ -import { SlashCommandBuilder, CommandInteraction } from "discord.js"; +import { SlashCommandBuilder, ChatInputCommandInteraction } from "discord.js"; module.exports = { data: new SlashCommandBuilder() .setName("ping") .setDescription("Replies with Pong!"), - async execute(interaction: CommandInteraction) { + async execute(interaction: ChatInputCommandInteraction) { await interaction.reply("Pong!"); }, };