mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-04-02 09:44:14 +00:00
Updated Ping command
This commit is contained in:
parent
cad6ad02ae
commit
e0141e9e8c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ interface Command {
|
|||
const command: Command = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName("ping")
|
||||
.setDescription("Check the latency of the bot"),
|
||||
.setDescription("Check the latency from you to the bot"),
|
||||
execute: async (interaction) => {
|
||||
await interaction.reply(`Pong! Latency: ${Date.now() - interaction.createdTimestamp}ms`);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue