def check_func(_, message: Message): if Filters.edited(message): return False if Filters.forwarded(message): return False if Filters.command('bindgame')(message): return True
def check_func(_, message: Message): if Filters.forwarded(message): return False if Filters.edited(message): return False if Filters.command('start')(message) and len(message.command) > 1 and message.command[1].lower() == 'addfc': return True
def check_func(_, message: Message): if Filters.forwarded(message): return False if Filters.edited(message): return False if Filters.command('privacy')(message): return True if Filters.command('start')(message): if len(message.command) <= 1: return False if message.command[1].lower() == 'privacy': return True
def check_func(_, message: Message): if Filters.forwarded(message): return False if Filters.edited(message): return False if Filters.command('help')(message): return True message.command = message.text.split() if Filters.command('start')(message): if message.command[1].lower() == 'help': return True if len(message.command) == 1: return True