bug resolution
This commit is contained in:
parent
b289cd4b92
commit
9f6eb496fd
1 changed files with 2 additions and 2 deletions
|
@ -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!");
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue