

def _format_tell(self, packet):
    '\n        Handle tells over IMC2 by formatting the text properly\n\n        Args:\n            packet (Packet): Data packet.\n\n        '
    return (_('{c%(sender)s@%(origin)s{n {wpages (over IMC):{n %(msg)s') % {
        'sender': packet.sender,
        'origin': packet.origin,
        'msg': packet.optional_data.get('text', 'ERROR: No text provided.'),
    })

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py IMC2Bot._format_tell/original