14 lines
336 B
14 lines
336 B
1 year ago
|
/*
|
||
|
A ping command that replies with "Pong!" when bot is running.
|
||
|
*/
|
||
|
|
||
|
const { SlashCommandBuilder } = require("discord.js");
|
||
|
|
||
|
module.exports = {
|
||
|
data: new SlashCommandBuilder()
|
||
|
.setName("ping")
|
||
|
.setDescription("Replies with Pong!"),
|
||
|
async execute(interaction) {
|
||
|
await interaction.reply("Pong!");
|
||
|
},
|
||
|
};
|