ur admin btw

This commit is contained in:
Bandie 2021-06-11 23:54:53 +02:00
parent 463fd8a629
commit b520878a7b
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -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)