Core bot components
This commit is contained in:
13
commands/ping.js
Normal file
13
commands/ping.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const { SlashCommandBuilder } = require("@discordjs/builders");
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName("ping")
|
||||
.setDescription("Ping, yes"),
|
||||
async execute(interaction) {
|
||||
interaction.reply({
|
||||
content: "Pong!",
|
||||
ephemeral: true
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user