diff --git a/bot.py b/bot.py index 05a1afe..5703fab 100644 --- a/bot.py +++ b/bot.py @@ -4,7 +4,7 @@ import json with open('config.json', 'r') as 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) bot = botLibrary.Bot(credentials) PREFIX = "!q"