From b520878a7b44b023d6b03311f58567cd02934e20 Mon Sep 17 00:00:00 2001 From: Bandie Date: Fri, 11 Jun 2021 23:54:53 +0200 Subject: [PATCH] ur admin btw --- TelegramContactProtectionBot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TelegramContactProtectionBot.py b/TelegramContactProtectionBot.py index 393f3f0..9db9d09 100755 --- a/TelegramContactProtectionBot.py +++ b/TelegramContactProtectionBot.py @@ -125,6 +125,8 @@ def start(update: Update, context: CallbackContext): if('name' in config): context.bot.sendMessage(chat_id=update.effective_chat.id, text="Hello! " + config['name'] + " has set up a contact protection bot. To request contact, type /request.", reply_markup=reply_markup) + if(isAdmin(update.effective_user.id)): + context.bot.sendMessage(chat_id=update.effective_chat.id, text="You are admin btw.") else: context.bot.sendMessage(chat_id=update.effective_chat.id, text="Hello! This bot isn't claimed yet. Type /setup to claim.", reply_markup=reply_markup)