0x00
0x00
## Summary This fixes a compatibility issue with Discord Components v2 that were added in v0.29.0. The new component types require Discord API v10, but the library defaults to v9,...
Closes #1683. When Discord ships a new component type (recently type 20 for checkpoints), the `default` branch in `unmarshalableMessageComponent.UnmarshalJSON` returns an error. `Message.UnmarshalJSON` then exits before populating the Message, but...
### Description `onEvent()` in `wsapi.go` accesses `s.wsConn` without a nil check when responding to Op1 (heartbeat request). This causes a nil pointer dereference panic when `CloseWithCode()` sets `s.wsConn = nil`...