diff --git a/litecord/blueprints/users.py b/litecord/blueprints/users.py index bea5b89..4127a4a 100644 --- a/litecord/blueprints/users.py +++ b/litecord/blueprints/users.py @@ -531,7 +531,7 @@ async def user_disconnect(user_id): continue # force a close, 4000 should make the client reconnect. - await state.ws.close(4000) + await state.ws.ws.close(4000) @bp.route('/@me/delete', methods=['POST'])