10 lines
240 B
JavaScript
10 lines
240 B
JavaScript
|
const { SlashCommandBuilder } = require('discord.js');
|
||
|
|
||
|
module.exports = {
|
||
|
data: new SlashCommandBuilder()
|
||
|
.setName('ping')
|
||
|
.setDescription('Replies with pong!'),
|
||
|
async execute(interaction) {
|
||
|
await interaction.reply('Pong!');
|
||
|
},
|
||
|
};
|