From 03a9d8dd983ff0cef1d621805e59916b2f014ebc Mon Sep 17 00:00:00 2001 From: Dustin Date: Tue, 17 Sep 2024 11:40:00 -0400 Subject: [PATCH] bug fix --- ollamarama.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ollamarama.py b/ollamarama.py index f30d05c..6aeef13 100644 --- a/ollamarama.py +++ b/ollamarama.py @@ -226,9 +226,10 @@ class ollamarama: command = message[0] if command in user_commands: action = user_commands[command] + await action() if sender_display in self.admins and command in admin_commands: action = admin_commands[command] - await action() + await action() async def message_callback(self, room: MatrixRoom, event: RoomMessageText): if isinstance(event, RoomMessageText):