Example #1
0
def __stats__():
    return "{} gbanned users.".format(sql.num_gbanned_users())
def __stats__():
    return "{} utenti in gban.".format(sql.num_gbanned_users())
Example #3
0
def __stats__():
    return get_string("gbans", "STATS", DEFAULT_LANG).format(sql.num_gbanned_users()) # STATS
Example #4
0
def __stats__():
    return "{} global yasaklanmış kullanıcı.".format(sql.num_gbanned_users())
Example #5
0
def __stats__():
    return "{} globalnie zbanowanych futrzaków.".format(sql.num_gbanned_users())
Example #6
0
                                                "from spammers, unsavoury characters, and the biggest trolls.")
        elif args[0].lower() in ["off", "no"]:
            sql.disable_gbans(update.effective_chat.id)
            update.effective_message.reply_text("I've disabled gbans in this group. GBans wont affect your users "
                                                "anymore. You'll be less protected from any trolls and spammers "
                                                "though!")
    else:
        update.effective_message.reply_text("Give me some arguments to choose a setting! on/off, yes/no!\n\n"
                                            "Your current setting is: {}\n"
                                            "When True, any gbans that happen will also happen in your group. "
                                            "When False, they won't, leaving you at the possible mercy of "
                                            "spammers.".format(sql.does_chat_gban(update.effective_chat.id)))
                                            
                                            
                        def __stats__():
    return "{} gbanned users.".format(sql.num_gbanned_users())


def __user_info__(user_id):
    is_gbanned = sql.is_user_gbanned(user_id)

    text = "Globally banned: <b>{}</b>"
    if is_gbanned:
        text = text.format("Yes")
        user = sql.get_gbanned_user(user_id)
        if user.reason:
            text += "\nReason: {}".format(html.escape(user.reason))
    else:
        text = text.format("No")
    return text
def __stats__():
    return "{}명이 글로벌 밴 당했어요.".format(sql.num_gbanned_users())
def __stats__():
    return "Toplam {} Kullanıcı Global Olarak Yasaklandı.".format(sql.num_gbanned_users())
Example #9
0
def __stats__():
    return "{} gbanned kullanıcılar.".format(sql.num_gbanned_users())
Example #10
0
def __stats__():
    return "{} المستخدمين المحظورين.".format(sql.num_gbanned_users())