mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
21 lines
638 B
Python
21 lines
638 B
Python
import royalnet.engineer as engi
|
|
import royalnet_telethon as rt
|
|
import royalnet_telethon.bullet.contents as rtc
|
|
|
|
|
|
@engi.PartialCommand.new(syntax="")
|
|
async def ciaoruozi(*, _sentry: engi.Sentry, _msg: engi.Message, _pda, **__):
|
|
"""
|
|
Saluta Ruozi, una creatura leggendaria che potrebbe esistere o non esistere in Royal Games.
|
|
"""
|
|
|
|
if isinstance(_pda, rt.TelethonPDA):
|
|
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!")
|
|
|
|
|
|
__all__ = ("color",)
|