ping command done

This commit is contained in:
2022-11-12 00:36:56 -03:00
parent 8e5fcb4be9
commit 3d7666d7a0
3 changed files with 81 additions and 4 deletions

10
commands/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');
},
};