Disable in groups
This commit is contained in:
parent
579fafd7b1
commit
7d4fe425eb
2
bot.py
2
bot.py
@ -101,6 +101,8 @@ def post(bot, update, db):
|
||||
tag = (chat_id == user_id)
|
||||
send_stats(bot, update, db, tag)
|
||||
return
|
||||
if chat_id < 0:
|
||||
return
|
||||
if chat_id in config.allowed_users:
|
||||
callback_id = get_callback_id(db)
|
||||
photo = update.message.photo[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user