Closed DBraspberrypi closed 8 months ago
hi, i just got the exact same error, did you manage to figure it out?
read the Discord Gateway docs and it turns out toggling these options on will make privileged intents work :)
i think this issue can be closed.
@mstcgalis thanks for the investigation and posting the fix here
tried to run the example code echo but resulting in a 4014 error from discord due to "disallowed intents" even though the bot has been given admin rights
W (239053) TRANSPORT_WS: esp_transport_ws_poll_connection_closed: unexpected data readable on socket=54 W (239053) WEBSOCKET_CLIENT: Connection terminated while waiting for clean TCP close E (239713) DISCORD: dc_task: Connection closed (code=4014, desc=Disallowed intent(s).) I (239713) DISCORD: dc_task: Restarting discord in 10 sec...