

def disconnect(self, reason=None):
    '\n        Disconnect from server.\n\n        Args:\n            reason (str): Motivation for the disconnect.\n        '
    if reason:
        self.client.lineSend(self.suid, reason)
    self.client.client_disconnect(self.suid)

dataset/ETHPy150Open evennia/evennia/evennia/server/portal/webclient.py WebClientSession.disconnect/original