This commit is contained in:
2023-04-05 00:49:38 -05:00
parent 19d65140cc
commit d369ac2d93
7 changed files with 30 additions and 29 deletions

11
commands/ping.cjs Normal file
View File

@@ -0,0 +1,11 @@
const { SlashCommandBuilder, Discord } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),
async execute(interaction, client) {
await interaction.reply('Pong!');
console.log("User " + interaction.user.tag + " ran /ping");
},
};