mirror of
https://github.com/solero/houdini.git
synced 2024-11-13 22:28:21 +00:00
Log player messages to console
This commit is contained in:
parent
c67e7cc018
commit
9c9ab2dd7d
@ -40,3 +40,5 @@ async def handle_send_message(p, penguin_id: int, message: str):
|
|||||||
await invoke_command_string(p.server.commands, p, message)
|
await invoke_command_string(p.server.commands, p, message)
|
||||||
else:
|
else:
|
||||||
await p.room.send_xt('sm', p.id, message)
|
await p.room.send_xt('sm', p.id, message)
|
||||||
|
|
||||||
|
p.logger.info(f'{p.username} said \'{message}\' in room \'{p.room.name}\'')
|
||||||
|
Loading…
Reference in New Issue
Block a user