diff --git a/src/matrix_applicationbot/classes/bot.py b/src/matrix_applicationbot/classes/bot.py index 6cefc8d..c0c4521 100644 --- a/src/matrix_applicationbot/classes/bot.py +++ b/src/matrix_applicationbot/classes/bot.py @@ -204,7 +204,7 @@ class ApplicationBot: ) elif command == "list": return await self.list_tickets(room) - elif command.startswith("monitor"): + elif command.startswith("monitor "): room_id = self.resolve_room_id(command.split()[1]) await self.add_monitored_room(room_id) return await self.client.room_send(