ur admin btw

main
Bandie 2 years ago
parent 463fd8a629
commit b520878a7b
No known key found for this signature in database
GPG Key ID: 843D7FA93BA46312

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

Loading…
Cancel
Save