ping: commit initial file
This commit is contained in:
parent
d175a967a8
commit
896e437766
1 changed files with 10 additions and 0 deletions
10
commands/ping.js
Normal file
10
commands/ping.js
Normal 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!');
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue