Grab credentials from env vars
This commit is contained in:
7
bot.py
7
bot.py
@@ -2,11 +2,12 @@ if __name__ == '__main__':
|
||||
print('Run main.py instead.')
|
||||
exit(1)
|
||||
|
||||
import os
|
||||
import time
|
||||
|
||||
USERNAME = ''
|
||||
PASSWORD = ''
|
||||
SERVER = ''
|
||||
USERNAME = os.environ['USERNAME']
|
||||
PASSWORD = os.environ['PASSWORD']
|
||||
SERVER = os.environ['SERVER']
|
||||
|
||||
from custom.managers import DataManager, ChunksManager, ChatManager
|
||||
|
||||
|
Reference in New Issue
Block a user