mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 03:24:20 +00:00
Make ping a coroutine function
This commit is contained in:
parent
66be9d1eab
commit
4287719107
1 changed files with 1 additions and 1 deletions
|
@ -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!".
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue