def remove_bluetext_ignore_global(update: Update, context: CallbackContext): message = update.effective_message args = context.args if len(args) >= 1: val = args[0].lower() removed = sql.global_unignore_command(val) if removed: reply = "<b>{}</b> əmri qlobal olaraq Bluetext təmizləyici siyahınsından silindi.".format( args[0]) else: reply = "Bu əmr hazırda nəzərə alınır. Mənə başqa bir əmr ver." message.reply_text(reply, parse_mode=ParseMode.HTML) else: reply = "Nəzərə alınacaq bir əmr verməmisən." message.reply_text(reply)
def remove_bluetext_ignore_global(update: Update, context: CallbackContext): message = update.effective_message args = context.args if len(args) >= 1: val = args[0].lower() removed = sql.global_unignore_command(val) if removed: reply = "<b>{}</b> has been removed from global bluetext cleaner ignore list.".format( args[0]) else: reply = "Command isn't ignored currently." message.reply_text(reply, parse_mode=ParseMode.HTML) else: reply = "No command supplied to be unignored." message.reply_text(reply)
def remove_bluetext_ignore_global(bot: Bot, update: Update, args: List[str]): message = update.effective_message if len(args) >= 1: val = args[0].lower() removed = sql.global_unignore_command(val) if removed: reply = "<b>{}</b> global bluetext cleaner yoksayma listesinden kaldırıldı.".format(args[0]) else: reply = "Komut şu anda yok sayılmıyor." message.reply_text(reply, parse_mode=ParseMode.HTML) else: reply = "İmzasız olarak gönderilecek komut yok." message.reply_text(reply)