def no_longer_afk(update: Update, context: CallbackContext): user = update.effective_user 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: options = [ '{} Yo Baka!', '{} Yōkoso!', '{} welcome back.. no one missed you!!', '{} why you came here?', '{} is wasting his time in this chat!', '{} welcome back...Now pay 100$ or get banned.', 'Why You in here', 'He Wants to Slash Titan!', 'I have flowers for you {}.', '{} welcome to hell again.', '{} is here! start the show!', '{} bruh you should delete your telegram account.', '{} my love is here!', '{} damn... I saw you were online.. reading the messages.. but u were afk.', '{} yess.. lets start trashing the chat!', 'Spammer just arrived.. be ready everyone.. let me grab my ban-hammer!', '{} please be gentle with me... in the chat..' ] chosen_option = random.choice(options) update.effective_message.reply_text( chosen_option.format(firstname)) except: return
def no_longer_afk(update: Update, context: CallbackContext): user = update.effective_user 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: options = [ '{} came again! ah shit, we were having fun without you!', '{} welcome back.. no one missed you!!', '{} why you came here?', '{} we had fun without you!', '{} welcome back...Now pay 100$ or get banned.', 'Yamete...Yamete-kudasai {}-sama', 'Oh my! {} got no chills!!', '{} got a girlfriend! thats why he was afk.', '{} welcome to hell again.', '{} is here! start the show!', '{} bruh you should delete your telegram account.', '{} ahem! my love is here!', '{} damn... I saw you were online.. reading the messages.. but u were afk.', '{} yess.. lets start trashing the chat!', 'Spammer just arrived.. be ready everyone.. let me grab my ban-hammer!', '{} please be gentle with me... in the chat..' ] chosen_option = random.choice(options) update.effective_message.reply_text( chosen_option.format(firstname)) except: return
def no_longer_afk(update: Update, context: CallbackContext): user = update.effective_user 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: options = [ '{} is here!', '{} is back!', '{} is now in the chat!', '{} is awake!', '{} is back online!', '{} is finally here!', 'Welcome back! {}', 'Where is {}?\nIn the chat!' ] chosen_option = random.choice(options) update.effective_message.reply_text( chosen_option.format(firstname)) except: return
def no_longer_afk(update: Update, context: CallbackContext): user = update.effective_user 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: options = [ 'Yo wassap {}!', 'Welkombek {}!', 'Selamat Datang kembali {}, Gada yang kangen kamu btw', '{} Kenapa lu kesini woe?', '{} itu nyimakin chat ini dari tadi!', 'Yo {} Mau Mandi dulu?, Makan dulu?, Atau... @PicoKwai? >~<', 'Yamete...Yamete-kudasai {}-sama', 'Oh gawat! {} Gabisa bersantuy!!', 'Si {} dapet Pacar makanya dia afk tadi.', 'Selamat datang kembali {}! Tentunya dineraka ini wahaha!!', '{} disini! Mari mulai kontesnya!', '{} Keknya lu harus delete akun beb.', '{} ahem! Kesayanganku ada disini!', 'Ey {} Bangsul, Gue liat lu nyimak tapi ga nimbrung, Tabok nih (°-°).', '{} cuy kita spam di grup kuy :3', '{} Kang spam telah tiba, Siap siap kawan! Gue bakal siapin palu bannednya!', 'Yasashiku shinasai yo {} oni chan...' ] chosen_option = random.choice(options) update.effective_message.reply_text( chosen_option.format(firstname)) except: return