NoMoreAcronyms/commands/ping.cjs

12 lines
320 B
JavaScript

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");
},
};