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!"); }, };