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