Add ping slash command

This commit is contained in:
baz 2023-11-17 23:24:15 +00:00
parent 46d0d8cb6a
commit 08b75d376e
1 changed files with 10 additions and 0 deletions

10
commands/testing/ping.js Normal file
View File

@ -0,0 +1,10 @@
const { SlashCommandBuilder } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with pong!'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};