def __init__(self, packet):
        self.localname = packet.optional_data.get('localname', None)
        self.name = packet.optional_data.get('channel', None)
        self.level = packet.optional_data.get('level', None)
        self.owner = packet.optional_data.get('owner', None)
        self.policy = packet.optional_data.get('policy', None)
        self.last_updated = time()
Initialize channel.
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py/IMC2Channel.__init__