yepcord / server

Unofficial discord backend implementation in python.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Handle disconnect #60

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/yepcord/server/blob/9ffb14b7eef1e77beb063d0fa8d29c36fa4b37c3/server/gateway/main.py#L57


        except CancelledError:
            setattr(ws, "ws_connected", False)
            await gw.disconnect(ws)
            break # TODO: Handle disconnect

if __name__ == "__main__":
    from uvicorn import run as urun
github-actions[bot] commented 1 year ago

Closed in 0afcb236b7a3ff0df9161eb63cc0e361cb5c82ec

github-actions[bot] commented 1 year ago

Closed in 0afcb236b7a3ff0df9161eb63cc0e361cb5c82ec