From 58ef200792191fc04b06656c7b22a34604ccce4f Mon Sep 17 00:00:00 2001 From: ziro Date: Tue, 18 Jul 2023 15:10:21 +0700 Subject: [PATCH] fix: Enable IPv6 --- nexus/core/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nexus/core/api.py b/nexus/core/api.py index 0e3fec4..fa4523a 100644 --- a/nexus/core/api.py +++ b/nexus/core/api.py @@ -27,6 +27,7 @@ def __init__(self, context: Optional[zmq.asyncio.Context] = None, *args, **kwarg if not socket: continue socket.setsockopt(zmq.RCVTIMEO, timeout) + socket.setsockopt(zmq.IPV6, True) # Auth related stuff self.clientId = int(os.getenv("DISCORD_CLIENT_ID", 0))