Browse Source

ur admin btw

main
Bandie 4 months ago
parent
commit
b520878a7b
Signed by: Bandie GPG Key ID: 843D7FA93BA46312
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      TelegramContactProtectionBot.py

+ 2
- 0
TelegramContactProtectionBot.py 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)


Loading…
Cancel
Save