odin/commands/fun/ping.js
2024-03-04 20:38:46 +01:00

11 lines
292 B
JavaScript

const { SlashCommandBuilder } = require("discord.js");
module.exports = {
data: new SlashCommandBuilder()
.setName("ping")
.setDescription("Replies with Pong!"),
async execute(interaction) {
console.log("ping command executed");
await interaction.reply("Pong!");
},
};