From 92d06b0637338b1df9abe36c73a731c2b9fe6112 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 27 Mar 2026 19:56:26 -0500 Subject: [PATCH] Add chore bot --- Makefile | 2 +- app.py | 7 ++++++- pyproject.toml | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1f279de..483fe60 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: serve -.venv: +.venv: pyproject.toml python -m venv .venv .venv/bin/pip install . diff --git a/app.py b/app.py index b3b352f..97b63ee 100644 --- a/app.py +++ b/app.py @@ -1,9 +1,14 @@ from matrix_goal_bot.bot import get_bot, goal_bot +from matrix_chore_bot.bot import chore_bot bot = get_bot() @bot.listener.on_message_event -async def do_bot_stuff(room, message): +async def do_goal_stuff(room, message): await goal_bot(room, message, bot) +@bot.listener.on_message_event +async def do_chore_stuff(room, message): + await chore_bot(room, message, bot) + bot.run() diff --git a/pyproject.toml b/pyproject.toml index 5e698ff..7593507 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ requires-python = ">=3.12" dependencies = [ 'matrix-goal-bot@git+https://codeberg.org/EdTheDev/matrix-goal-bot.git', +'matrix-chore-bot@git+https://codeberg.org/EdTheDev/matrix-chore-bot.git', 'invoke', 'simplematrixbotlib', ] -- 2.47.3