2021-04-03 17:13:53 +00:00
|
|
|
import royalnet.engineer as engi
|
|
|
|
import royalnet_telethon as rt
|
|
|
|
import royalnet_telethon.bullet.contents as rtc
|
|
|
|
|
|
|
|
|
|
|
|
@engi.PartialCommand.new(syntax="")
|
2021-04-15 00:40:51 +00:00
|
|
|
async def ciaoruozi(*, _sentry: engi.Sentry, _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-15 00:40:51 +00:00
|
|
|
if isinstance(_imp, rt.TelethonPDAImplementation):
|
2021-04-03 17:13:53 +00:00
|
|
|
sender: rtc.TelegramUser = await _msg.sender
|
|
|
|
# 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",)
|