andersfylling / disgord

Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
BSD 3-Clause "New" or "Revised" License
496 stars 70 forks source link

fix: use 74-byte packets for IP Discovery #525

Closed crivasr closed 1 year ago

crivasr commented 1 year ago

Description

The library is using the old IP Discovery protocol that has been deprecated since december 2019. That old protocol will continue to work until march 15th according to their anouncement in the discord developers server. I've changed the udp packet so it uses the new protocol documented here.

Breaking Change?

no

Checklist: