1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-03-31 20:30:32 +00:00
royalnet/royalnet/commands/ciaoruozi.py

17 lines
531 B
Python

from ..utils import Command, CommandArgs, Call
from telegram import Update, User
class CiaoruoziCommand(Command):
command_name = "ciaoruozi"
command_title = "Saluta Ruozi, anche se non è più in RYG."
command_syntax = ""
async def telegram(self, call: Call, args: CommandArgs):
update: Update = args.kwargs["update"]
user: User = update.effective_user
if user.id == 112437036:
await call.reply("👋 Ciao me!")
else:
await call.reply("👋 Ciao Ruozi!")