1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00
royalnet/royalpack/commands/ping.py
2021-01-10 19:40:06 +01:00

12 lines
319 B
Python

import royalnet.engineer as engi
@engi.PartialCommand.new(syntax="")
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!".
"""
await _msg.send_reply(text="🏓 Pong!")
__all__ = ("ping",)