nodbot/slash-commands/ping.js
2021-09-22 13:15:31 -04:00

11 lines
313 B
JavaScript

const { SlashCommandBuilder } = require('@discordjs/builders');
const fn = require('../functions.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Check that the bot is alive and responding.'),
async execute(interaction) {
await interaction.reply('Pong!');
},
};