Also ignore maubot commands
This commit is contained in:
parent
23883f730e
commit
bbc2fd560f
|
@ -70,6 +70,11 @@ class Callbacks:
|
|||
MatrixMessage.update_message(room, event, event_replace, include_text)
|
||||
return
|
||||
|
||||
# XXX: Special case for Arch Linux CN
|
||||
# Also ignore maubot commands
|
||||
if msg.startswith("!"):
|
||||
return
|
||||
|
||||
logger.debug(
|
||||
f"Bot message received for room {room.display_name} | "
|
||||
f"{room.user_name(event.sender)}: {msg}"
|
||||
|
|
Loading…
Reference in New Issue