Haha-Yes/commands/ping.js

11 lines
243 B
JavaScript
Raw Normal View History

2022-06-17 01:25:05 +02:00
import { SlashCommandBuilder } from '@discordjs/builders';
2022-06-17 01:25:05 +02:00
export default {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};