mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-10-11 01:25:56 +00:00
Banned users env, access validator, removed silent command, code quality improvements
This commit is contained in:
@@ -5,7 +5,6 @@ not_left = '{} did not join group `{}` before'
|
||||
mention_failed = 'There are no users to mention'
|
||||
no_groups = 'There are no groups for this chat'
|
||||
|
||||
|
||||
start_text = """
|
||||
Hello there
|
||||
I am @everyone\_mention\_bot
|
||||
@@ -32,4 +31,4 @@ To display all members in a group:
|
||||
|
||||
You can also try to tag me @everyone\_mention\_bot and then enter group name
|
||||
Possible results will be displayed
|
||||
"""
|
||||
"""
|
||||
|
@@ -13,3 +13,5 @@ MONGODB_USERNAME = os.environ['MONGODB_USERNAME']
|
||||
MONGODB_PASSWORD = os.environ['MONGODB_PASSWORD']
|
||||
MONGODB_HOSTNAME = os.environ['MONGODB_HOSTNAME']
|
||||
MONGODB_PORT = os.environ['MONGODB_PORT']
|
||||
|
||||
BANNED_USERS = os.environ['BANNED_USERS'].split(',') or []
|
||||
|
Reference in New Issue
Block a user