bug resolution

This commit is contained in:
Lukian LEIZOUR 2024-03-10 21:28:46 +01:00
parent b289cd4b92
commit 9f6eb496fd

View file

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