feat(commands/bot): add ping
This commit is contained in:
parent
79fd40a8e3
commit
aa4632b4dd
@ -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,
|
||||
|
@ -13,6 +13,7 @@ class Command(Enum):
|
||||
JOIN = "join"
|
||||
LEAVE = "leave"
|
||||
PAUSE = "pause"
|
||||
PING = "ping"
|
||||
PLAY = "play"
|
||||
PLAYING = "playing"
|
||||
PURGE = "purge"
|
||||
|
Loading…
x
Reference in New Issue
Block a user