joel joel joel
This commit is contained in:
13
commands/ping/index.ts
Normal file
13
commands/ping/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { SlashCommandBuilder } from "discord.js";
|
||||
import type { Command } from "../command";
|
||||
|
||||
const command: Command = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName("ping")
|
||||
.setDescription("Replies with Pong!"),
|
||||
execute: async (interaction) => {
|
||||
await interaction.reply("Pong!");
|
||||
},
|
||||
};
|
||||
|
||||
export default command;
|
||||
Reference in New Issue
Block a user