From 4287719107e02afea59b914349009766df1ed269 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 3 Jan 2021 14:42:49 +0100 Subject: [PATCH] Make ping a coroutine function --- royalpack/commands/ping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/ping.py b/royalpack/commands/ping.py index c83f4829..3c1289c8 100644 --- a/royalpack/commands/ping.py +++ b/royalpack/commands/ping.py @@ -2,7 +2,7 @@ import royalnet.engineer as engi @engi.PartialCommand.new(name="ping", syntax="") -def ping(_sentry: engi.Sentry, _msg: engi.Message, **__): +async def ping(_sentry: engi.Sentry, _msg: engi.Message, **__): """ A way to check if the bot is working: it will always reply to this command with "🏓 Pong!". """