Untitled
unknown
plain_text
3 years ago
572 B
14
Indexable
class Filter_aiimg(UpdateFilter):
def filter(self, update: Update):
return 'gbr' in update.message.text.split()
SPECIAL_USERS = [any user that is allowed]
class Filter_user(UpdateFilter):
async def filter(self, update: Update):
if '@'+update.effective_user.username in SPECIAL_USERS:
pass
else:
await update.effective_message.reply_text('''
You're not allowed to access this bot \U0000274c\U0000274c\U0000274c.
please contact @Robbyfuad first!!.
''')
raise ApplicationHandlerStopEditor is loading...