feat(commands/bot): add ping
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user