This commit is contained in:
Benedetta 2024-04-05 14:54:08 +02:00
parent 7d017f5579
commit e3efdad3de

View file

@ -53,11 +53,9 @@ async def message_received_cb(matrix_client: MatrixClient,
source_message_id=event.event_id,
sender_nick=room.user_name(event.sender),
room_id=room.room_id)
print(swm)
try:
if swm.command in commands.commands:
await mq.route_to_exchange(rabbit_client, swm)
print('mq routed')
else:
help_ = protocol.unknown_cmd_help_reply(swm)
await send_text(matrix_client, help_)