Spot/commands/utility/ping.ts
2023-12-18 14:04:26 +01:00

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