From c67e7cc0183cc28342a1fc9c242c8fd080851963 Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 17 May 2020 03:26:13 +0100 Subject: [PATCH] Show command messages to moderators --- houdini/handlers/play/message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/houdini/handlers/play/message.py b/houdini/handlers/play/message.py index 6b336e3..8afa147 100644 --- a/houdini/handlers/play/message.py +++ b/houdini/handlers/play/message.py @@ -36,6 +36,7 @@ async def handle_send_message(p, penguin_id: int, message: str): return if has_command_prefix(p.server.config.command_prefix, message): + await p.room.send_xt('mm', message, p.id, f=lambda px: px.moderator) await invoke_command_string(p.server.commands, p, message) else: await p.room.send_xt('sm', p.id, message)