discordgo
discordgo copied to clipboard
(Golang) Go bindings for Discord
This allows to timeout an user. Closes #1213
We have been thinking on how to improve developer experience with the library and clean up some stuff. One of the aspects that came to our attention is REST methods....
This PR implements the rest method to [Get Current User Guild Member](https://discord.com/developers/docs/resources/user#get-current-user-guild-member). I didn't find an open issue or discussion for this, but it is relatively straightforward to implement so...
This PR aims to improve interface for resuming sessions between crashes and program restarts. Additionally this PR implements newly added `resume_gateway_url` (however this might be separated into a different PR...
This avoids "./main.go:78:21: cannot use discordgo.IntentsGuildVoiceStates (type discordgo.Intent) as type *discordgo.Intent in assignment"
A little attempt to make this pull request. Why would I need such an update? For example, if I would be able to pass custom `Dialer`, then I could use...
From what I know, this change is only for modals and is undocumented. They only return the selectmenu name and the values.
when discord open error:Get “https://discord.com/api/v9/gateway”: http2: client connection force closed via ClientConn.Close
There is no way to timeout a user.
This pr adds a lightweight hopefully flexible enough implementation of handling interactions via outgoing webhooks discord docs: https://discord.com/developers/docs/interactions/receiving-and-responding#receiving-an-interaction how it works: - `discordgo.Session` implements the `http.Handler` interface(like this you can...