1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-17 10:53:57 +00:00
royalnet/royalpack/commands/ping.py

15 lines
275 B
Python
Raw Normal View History

2021-01-03 02:22:34 +01:00
import royalnet.engineer as engi
2021-04-30 15:22:58 +02:00
import royalpack.bolts as rb
2021-01-03 02:22:34 +01:00
2021-04-30 15:22:58 +02:00
@rb.capture_errors
2021-04-17 04:19:11 +02:00
@engi.TeleportingConversation
2021-04-19 05:26:20 +02:00
async def ping(*, _msg: engi.Message, **__):
2021-01-03 02:22:34 +01:00
"""
2021-04-18 16:29:59 +02:00
Gioca a ping pong con il bot. 🏓
2021-01-03 02:22:34 +01:00
"""
2021-04-03 18:43:34 +02:00
await _msg.reply(text="🏓 Pong!")
2021-01-03 02:22:34 +01:00
__all__ = ("ping",)