1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/royalpack/commands/ciaoruozi.py

22 lines
715 B
Python

import royalnet.engineer as engi
import royalnet.engineer.conversation as c
import royalnet_telethon
import royalnet_telethon.bullet.contents
@engi.TeleportingConversation
async def ciaoruozi(*, _msg: engi.Message, _imp, **__):
"""
Saluta Ruozi, una creatura leggendaria che potrebbe esistere o non esistere in Royal Games.
"""
if isinstance(_imp, royalnet_telethon.TelethonPDAImplementation):
sender: royalnet_telethon.bullet.contents.TelegramUser = await _msg.sender
# noinspection PyProtectedMember
if sender._user.id == 112437036:
await _msg.reply(text="👋 Ciao \uE01Bme\uE00B!")
await _msg.reply(text="👋 Ciao Ruozi!")
__all__ = ("ciaoruozi",)