mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-19 18:26:48 +00:00
12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
import { CommandInteraction } from "discord.js";
|
|
|
|
const { SlashCommandBuilder } = require('discord.js');
|
|
|
|
module.exports = {
|
|
data: new SlashCommandBuilder()
|
|
.setName('ping')
|
|
.setDescription('Replies with Pong!'),
|
|
async execute(interaction: CommandInteraction) {
|
|
await interaction.reply('Pong!');
|
|
},
|
|
};
|