Patch type for interaction in ping.ts.

This commit is contained in:
2025-10-28 11:48:06 +01:00
parent 45ad2e625f
commit c8b8e31828

View File

@@ -1,10 +1,10 @@
import { CommandInteraction, SlashCommandBuilder } from "discord.js"; import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
export default { export default {
data: new SlashCommandBuilder() data: new SlashCommandBuilder()
.setName('ping') .setName('ping')
.setDescription('Pong again!'), .setDescription('Pong again!'),
async execute(interaction : CommandInteraction) { async execute(interaction : ChatInputCommandInteraction) {
await interaction.reply('Pong !'); await interaction.reply('Pong !');
} }
} }