

def __init__(self, packet):
    'Initialize channel.'
    self.localname = packet.optional_data.get('localname', None)
    self.name = self.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()

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/imc2.py IMC2Channel.__init__/VarMisuse@33/44 `packet`->`self`