mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-26 21:14:19 +00:00
12 lines
313 B
Python
12 lines
313 B
Python
import royalnet.engineer as engi
|
|
|
|
|
|
@engi.PartialCommand.new(syntax="")
|
|
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",)
|