]> us-delaporte.pagekite.me Git - matrix-cadbury.git/blobdiff - app.py
Fixup - for now
[matrix-cadbury.git] / app.py
diff --git a/app.py b/app.py
index 01fdc2e47f4cc574aed7b61fa1f62725874cfbdf..3b802074c010e946a5fdd05cbb115688329a15ca 100644 (file)
--- a/app.py
+++ b/app.py
@@ -8,7 +8,6 @@ from matrix_chore_bot.bot import chore_bot
 SERVER = os.environ.get('MATRIX_SERVER')
 BOT_NAME = os.environ.get('MATRIX_BOT')
 BOT_PWD = os.environ.get('MATRIX_BOT_PWD')
 SERVER = os.environ.get('MATRIX_SERVER')
 BOT_NAME = os.environ.get('MATRIX_BOT')
 BOT_PWD = os.environ.get('MATRIX_BOT_PWD')
-DATA_DIR = os.environ.get('MATRIX_DATA_DIR')
 
 creds = botlib.Creds(SERVER, BOT_NAME, BOT_PWD)
 bot = botlib.Bot(creds)
 
 creds = botlib.Creds(SERVER, BOT_NAME, BOT_PWD)
 bot = botlib.Bot(creds)
@@ -16,12 +15,12 @@ bot = botlib.Bot(creds)
 
 @bot.listener.on_message_event
 async def do_goal_stuff(room, message):
 
 @bot.listener.on_message_event
 async def do_goal_stuff(room, message):
-    await goal_bot(room, message, bot, DATA_DIR)
+    await goal_bot(room, message, bot)
 
 
 @bot.listener.on_message_event
 async def do_chore_stuff(room, message):
 
 
 @bot.listener.on_message_event
 async def do_chore_stuff(room, message):
-    await chore_bot(room, message, bot, DATA_DIR)
+    await chore_bot(room, message, bot)
 
 
 bot.run()
 
 
 bot.run()