Log player messages to console

This commit is contained in:
Ben 2020-05-17 03:26:23 +01:00
parent c67e7cc018
commit 9c9ab2dd7d

View File

@ -40,3 +40,5 @@ async def handle_send_message(p, penguin_id: int, message: str):
await invoke_command_string(p.server.commands, p, message)
else:
await p.room.send_xt('sm', p.id, message)
p.logger.info(f'{p.username} said \'{message}\' in room \'{p.room.name}\'')