forked from Supositware/Haha-Yes
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
import { SlashCommandBuilder } from '@discordjs/builders';
|
|
|
|
export default {
|
|
data: new SlashCommandBuilder()
|
|
.setName('ping')
|
|
.setDescription('Replies with Pong!'),
|
|
async execute(interaction) {
|
|
await interaction.reply(`Pong! \`${Math.round(interaction.client.ws.ping)} ms\``);
|
|
},
|
|
};
|