diff --git a/src/commands/utility/ping.ts b/src/commands/utility/ping.ts index 04dbe75..de52178 100644 --- a/src/commands/utility/ping.ts +++ b/src/commands/utility/ping.ts @@ -1,10 +1,10 @@ -import { CommandInteraction, SlashCommandBuilder } from "discord.js"; +import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; export default { data: new SlashCommandBuilder() .setName('ping') .setDescription('Pong again!'), - async execute(interaction : CommandInteraction) { + async execute(interaction : ChatInputCommandInteraction) { await interaction.reply('Pong !'); } } \ No newline at end of file