Compare commits

..

No commits in common. "df06f2379b3b675261afce84f73650ebab18a77d" and "d2929f79bf923a157d156d026dc77fef25c0aaf8" have entirely different histories.

2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View file

@ -163,5 +163,4 @@ cython_debug/
#.idea/ #.idea/
*config.json *config.json
*.kate-swp

4
bot.py
View file

@ -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['configuration']['server'], config['configuration']['userid'], config['configuration']['password']) credentials = botLibrary.Creds(config[server], config[login], config[password])
print(credentials) print(credentials)
bot = botLibrary.Bot(credentials) bot = botLibrary.Bot(credentials)
PREFIX = "!q" PREFIX = "!q"
@ -37,7 +37,7 @@ async def make_choice(room, message):
else: else:
id = match.args() id = match.args()
message = (f""" message = (f"""
Command recived (DEBUG) Command recived (DEBUG_)
""") """)
await bot.api.send_text_message(room.room_id, message) await bot.api.send_text_message(room.room_id, message)