TheOchulus/commands/testing/ping.js

11 lines
241 B
JavaScript
Raw Normal View History

2023-11-27 00:02:34 +01:00
const { SlashCommandBuilder } = require('discord.js');
2023-11-18 00:24:15 +01:00
2023-11-27 00:02:34 +01:00
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with pong!'),
2023-11-20 00:59:41 +01:00
2023-11-27 00:02:34 +01:00
async execute(interaction) {
await interaction.reply('Pong!');
},
};