From c8b8e31828f3a375f8569327f9681b05a394cc43 Mon Sep 17 00:00:00 2001 From: CL TheDreWen Date: Tue, 28 Oct 2025 11:48:06 +0100 Subject: [PATCH] Patch type for interaction in ping.ts. --- src/commands/utility/ping.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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