Spot/commands/utility/ping.ts

13 lines
338 B
TypeScript
Raw Normal View History

2023-12-18 14:04:26 +01:00
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!');
},
};