2023-03-31 00:34:58 -05:00
|
|
|
const { SlashCommandBuilder, Discord } = require('discord.js');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
data: new SlashCommandBuilder()
|
|
|
|
.setName('ping')
|
|
|
|
.setDescription('Replies with Pong!'),
|
2023-04-04 17:20:28 -05:00
|
|
|
async execute(interaction, client) {
|
2023-03-31 00:34:58 -05:00
|
|
|
await interaction.reply('Pong!');
|
2023-04-04 17:20:28 -05:00
|
|
|
console.log("User " + interaction.user.tag + " ran /ping");
|
2023-03-31 00:34:58 -05:00
|
|
|
},
|
|
|
|
};
|