discordgo
discordgo copied to clipboard
(Golang) Go bindings for Discord
If i’m not mistaken, the gID parameter of `RoleValue(s *Session, gID string)` line 465 of `interactions.go` corresponds to the guild ID. The gID parameter was passed to State.Role as roleID...
Dca-rs does not exist anymore, replaced with the dca cli solution to create .dca
When submitting a modal, we receive an InteractionCreate event with [following data](https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-modal-submit-data-structure): ``` "custom_id": String, "components": Array of message components ``` This data is unmarshalled using the following struct present...
Broken packet should be ignored and continue to next packet. This goroutine should not exit until close.
I got the warning/error`os.Kill cannot be trapped (did you mean syscall.SIGTERM?) (SA1016)` from `go-staticcheck` and then I found #706 which solves the "problem". But it isn't merged as it's not...
https://discord.com/developers/docs/resources/channel#message-object https://discord.com/developers/docs/resources/sticker#sticker-item-object There exists a property called `stickers` that contain the full sticker information but that is deprecated and not part of the struct here.
* Remove unused travis config * Bump the actions in the workflow file * Add Go 1.19 and 1.20 to the test matrix. I added quotes around the versions because...