def _whois_reply(self, packet):
        """
        Handle reply from server from an imcwhois request.

        Args:
            packet (Packet): Data packet.

        """
        # packet.target potentially contains the id of an character to target
        # not using that here
        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}
        # somehow pass reply on to a given player, for now we just send to channel
        self.data_in(string)
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2Bot._whois_reply/original