mirror of
https://github.com/solero/houdini.git
synced 2024-12-22 13:33:39 +00:00
Show command messages to moderators
This commit is contained in:
parent
fbe8ba5eb2
commit
c67e7cc018
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user