feat(commands/bot): add ping

This commit is contained in:
2025-01-08 16:03:24 -05:00
parent 79fd40a8e3
commit aa4632b4dd
3 changed files with 14 additions and 0 deletions

View File

@@ -84,6 +84,17 @@ async def uptime(message):
)
async def ping(message):
await utils.reply(
message,
embed=disnake.Embed(
title="Pong :ping_pong:",
description=f"Latency: **{round(client.latency * 1000, 1)} ms**",
color=EMBED_COLOR,
),
)
async def help(message):
await utils.reply(
message,

View File

@@ -13,6 +13,7 @@ class Command(Enum):
JOIN = "join"
LEAVE = "leave"
PAUSE = "pause"
PING = "ping"
PLAY = "play"
PLAYING = "playing"
PURGE = "purge"