protect bot
This commit is contained in:
parent
3f3831bdba
commit
acb28b775a
2
main.py
2
main.py
@ -23,7 +23,7 @@ logging.basicConfig(level=logging.INFO)
|
|||||||
bot = Bot(token=os.environ['BOT_TOKEN'])
|
bot = Bot(token=os.environ['BOT_TOKEN'])
|
||||||
dp = Dispatcher(bot)
|
dp = Dispatcher(bot)
|
||||||
|
|
||||||
user_ids = os.environ['USERS'].split(',')
|
user_ids = list(map(int, os.environ['USERS'].split(',')))
|
||||||
|
|
||||||
|
|
||||||
async def check_updates():
|
async def check_updates():
|
||||||
|
Loading…
Reference in New Issue
Block a user