forked from Supositware/Haha-Yes
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
2 years ago
|
import { SlashCommandBuilder } from '@discordjs/builders';
|
||
2 years ago
|
|
||
2 years ago
|
export default {
|
||
2 years ago
|
data: new SlashCommandBuilder()
|
||
|
.setName('ping')
|
||
|
.setDescription('Replies with Pong!'),
|
||
|
async execute(interaction) {
|
||
2 years ago
|
await interaction.reply(`Pong! \`${Math.round(interaction.client.ws.ping)} ms\``);
|
||
2 years ago
|
},
|
||
|
};
|