nodbot/slash-commands/ping.js

11 lines
343 B
JavaScript
Raw Normal View History

2021-09-22 17:15:31 +00:00
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) {
2022-06-11 21:22:51 +00:00
await interaction.reply({ content: 'Pong!', ephemeral: true });
2021-09-22 17:15:31 +00:00
},
};