Пример #1
0
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 = [
                "{} anak haram disini!",
                "{} ga peduli!",
                "{} liat anak tolol balik lagi!",
                "{} beban orang tua bangun!",
                "{} si anjing online!",
                "{} akhirnya balik lagi!",
                "welcomek kentod! {}",
                "Where is {}?\nIn the chat!",
            ]
            chosen_option = random.choice(options)
            update.effective_message.reply_text(
                chosen_option.format(firstname))
        except:
            return
Пример #2
0
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
Пример #3
0
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 = [
                "Si {} Kontol Disini Anjeng!",
                "{} Balek Lagi Dia Asu!",
                "{} Kontol Abis Ngejamet Nih Asu!",
                "{} Pantek Gausa Balek Bodoh!",
                "Gausa Balek Lu {} Pantek!",
                "{} Sudah Selesai Bucin Anjeng Huwekkk!",
                "Selamat Datang Di Indomaret {} Memek",
                "Abis Darimana Lu {}?\nPasti Dari Anon Cari Pap Meki!",
            ]
            chosen_option = random.choice(options)
            update.effective_message.reply_text(
                chosen_option.format(firstname))
        except:
            return
Пример #4
0
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 = [
                "{} Ngapain balik anjing!",
                "{} Anak pungut balik!",
                "{} Beban Grup disini!",
                "{} Mending mati dahlu!",
                "{} Tau dah cape ajg!",
                "{} Sicakep balik!",
                "Alo Jamet WB! {}",
                "Si babu {}?\npasti abis vcs!",
            ]
            chosen_option = random.choice(options)
            update.effective_message.reply_text(chosen_option.format(firstname))
        except:
            return
Пример #5
0
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 = [
                "{} kalian kangen aku gak!",
                "{} aku kembali guys!",
                "{} udah bangun nih!",
            ]
            chosen_option = random.choice(options)
            update.effective_message.reply_text(
                chosen_option.format(firstname))
        except:
            return