

def _whois_reply(self, packet):
    '\n        Handle reply from server from an imcwhois request.\n\n        Args:\n            packet (Packet): Data packet.\n\n        '
    response_text = imc2_ansi.parse_ansi(packet.optional_data.get('text', 'Unknown'))
    string = (_('Whois reply from %(origin)s: %(msg)s') % {
        'origin': packet.origin,
        'msg': response_text,
    })
    self.data_in(string)

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