1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

Make ping a coroutine function

This commit is contained in:
Steffo 2021-01-03 14:42:49 +01:00 committed by GitHub
parent 66be9d1eab
commit 4287719107
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ import royalnet.engineer as engi
@engi.PartialCommand.new(name="ping", syntax="") @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!". A way to check if the bot is working: it will always reply to this command with "🏓 Pong!".
""" """