ur admin btw
This commit is contained in:
parent
463fd8a629
commit
b520878a7b
@ -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…
Reference in New Issue
Block a user