2021-04-03 17:13:53 +00:00
|
|
|
import royalnet.engineer as engi
|
2021-04-17 02:19:11 +00:00
|
|
|
import royalnet.engineer.conversation as c
|
|
|
|
import royalnet_telethon
|
|
|
|
import royalnet_telethon.bullet.contents
|
2021-04-03 17:13:53 +00:00
|
|
|
|
|
|
|
|
2021-04-17 02:19:11 +00:00
|
|
|
@engi.TeleportingConversation
|
2021-04-19 03:26:20 +00:00
|
|
|
async def ciaoruozi(*, _msg: engi.Message, _imp, **__):
|
2021-04-03 17:13:53 +00:00
|
|
|
"""
|
|
|
|
Saluta Ruozi, una creatura leggendaria che potrebbe esistere o non esistere in Royal Games.
|
|
|
|
"""
|
|
|
|
|
2021-04-17 02:19:11 +00:00
|
|
|
if isinstance(_imp, royalnet_telethon.TelethonPDAImplementation):
|
|
|
|
sender: royalnet_telethon.bullet.contents.TelegramUser = await _msg.sender
|
2021-04-03 17:13:53 +00:00
|
|
|
# noinspection PyProtectedMember
|
|
|
|
if sender._user.id == 112437036:
|
|
|
|
await _msg.reply(text="👋 Ciao me!")
|
|
|
|
|
|
|
|
await _msg.reply(text="👋 Ciao Ruozi!")
|
|
|
|
|
|
|
|
|
2021-04-15 00:40:51 +00:00
|
|
|
__all__ = ("ciaoruozi",)
|