test 2
This commit is contained in:
parent
d2929f79bf
commit
8fcf9675c6
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -4,7 +4,7 @@ import json
|
||||||
with open('config.json', 'r') as f:
|
with open('config.json', 'r') as f:
|
||||||
config = json.load(f)
|
config = json.load(f)
|
||||||
|
|
||||||
credentials = botLibrary.Creds(config[server], config[login], config[password])
|
credentials = botLibrary.Creds(config['configuration']['server'], config['configuration']['userid'], config['configuration']['password'])
|
||||||
print(credentials)
|
print(credentials)
|
||||||
bot = botLibrary.Bot(credentials)
|
bot = botLibrary.Bot(credentials)
|
||||||
PREFIX = "!q"
|
PREFIX = "!q"
|
||||||
|
|
Loading…
Add table
Reference in a new issue