From 71c3855375f13490b166a7015214577178d9bc67 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh <102361830+SeaswimmerTheFsh@users.noreply.github.com> Date: Mon, 19 Jun 2023 22:20:17 -0400 Subject: [PATCH] made `[p]ping` reply to users --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index dc8b7e3..99a409d 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,7 @@ class Client(commands.CommandsClient): async def ping(self, ctx: commands.Context): # This command checks the bot's latency. before = time.monotonic() - await ctx.send("🏓") + await ctx.message.reply("🏓") mrm_list = await ctx.channel.history(limit=1) mrm = mrm_list[0] ping = (time.monotonic() - before) * 1000