1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 05:24:20 +00:00
royalnet/royalpack/commands/ping.py

13 lines
319 B
Python
Raw Normal View History

2021-01-03 01:22:34 +00:00
import royalnet.engineer as engi
@engi.PartialCommand.new(syntax="")
2021-01-10 18:40:06 +00:00
async def ping(*, _sentry: engi.Sentry, _msg: engi.Message, **__):
2021-01-03 01:22:34 +00:00
"""
A way to check if the bot is working: it will always reply to this command with "🏓 Pong!".
"""
await _msg.send_reply(text="🏓 Pong!")
2021-01-03 01:22:34 +00:00
__all__ = ("ping",)