diff --git a/maubot/matrix.py b/maubot/matrix.py index 5f0150d..1ac9167 100644 --- a/maubot/matrix.py +++ b/maubot/matrix.py @@ -84,7 +84,7 @@ class MaubotMatrixClient(MatrixClient): pass async def _command_event_handler(self, evt: MessageEvent) -> None: - if evt.sender == self.mxid or evt.content.msgtype != MessageType.TEXT: + if evt.sender == self.mxid or evt.content.msgtype == MessageType.NOTICE: return for command in self.commands: if command.match(evt):