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

15 lines
275 B
Python
Raw Normal View History

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