disgord
disgord copied to clipboard
Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
**Describe the bug** A rate limit exceeded error can occur if a certain endpoint shares the rate limit bucket with another endpoint but disgord doesn't know it yet. For example,...
Updating presence seems to fail when only a single Activity instance is specified. Since the type is interface{} it's not clear at all that it has to be an array.
**Describe the bug** Every so often during music playback it appears the websocket connection gets interrupted **Expected behavior** For the websocket connection to successfully reconnect on heartbeat **Error messages** ```DEBU[4717]...
https://discord.com/developers/docs/topics/rate-limits#invalid-request-limit Only 403 and 429 needs to be tracked; the New method validates the bot token.
To avoid bugs such as https://github.com/andersfylling/disgord/issues/356
There is no permission check locally before the request is sent, and this is both a waste of time and rate limits. Add minimum permissions required to sent a given...
REST requests usually have a set of permissions for usage. However, some might depends on what params you specify. The idea here is client side permission checking. Each param type...
Bot developers might want to test if their bots behave correctly. Disgord should provide a interface which allows triggering of custom content (with option to be cached or not) and...
**Is your feature request related to a problem? Please describe.** We want to be able to log things such as message edits, nickname changes, etc. To do that, we will...
**Describe the bug** Disgord does not share gateway ratelimits across shards as expected by Discord. ![](https://media.discordapp.net/attachments/481818123037704192/770361654654533642/unknown.png?width=766&height=907) **Expected behavior** Share rate limits using the provided max_concurrency field as pictured above.