def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name update.effective_message.reply_text( tld(chat.id, f"{firstname} is no longer AFK !"))
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name update.effective_message.reply_text(tld(chat.id, f"{firstname} is back to Virtual World! That is.. f"{fst_name} is no longerAway From Keyboard![AFK!]"))
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text( tld(chat.id, f"User {firstname} is no longer AFK!")) except: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text(tld(chat.id, f"wassup {firstname} jelek, kangen ak ya? mwehehe")) except: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text(tld(chat.id, f"{firstname} im back udah jadi ni SLOWMO nya!")) except: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text( tld(chat.id, f"#ONLINE\n{firstname} 𝗧𝗲𝗹𝗮𝗵 𝗸𝗲𝗺𝗯𝗮𝗹𝗶 𝗱𝗮𝗿𝗶 𝘼𝙁𝙆.")) except: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user chat = update.effective_chat message = update.effective_message if not user: # ignore channels return res = sql.rm_afk(user.id) if res: if message.new_chat_members: #dont say msg return firstname = update.effective_user.first_name try: message.reply_text( tld(chat.id, "user_no_longer_afk").format(firstname)) except Exception: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text( tld( chat.id, f"{firstname} ആഹാ ആൾ എത്തിയല്ലോ😀😍 നോക്കി നിക്കണ്ട കേറി ഇങ്ങ് പോരെ🥳" )) except: return
def no_longer_afk(bot: Bot, update: Update): user = update.effective_user # type: Optional[User] chat = update.effective_chat # type: Optional[Chat] if not user: # ignore channels return res = sql.rm_afk(user.id) if res: firstname = update.effective_user.first_name try: update.effective_message.reply_text( tld( chat.id, f"{firstname} рк▓рлНркпрлЛ ркЖрк╡рлА ркЧркпрк╛ рккрк╛ркЫрк╛ЁЯдЧ" )) except: return