disgord
disgord copied to clipboard
Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
Discord does not defined a field of pinned messages in the channel type. But this does seems like the most obvious choice to put them.
metrics
the flag disgord_metrics should enable store/logs of: - events per second (store unix and shard id) - how many events are in buffer/que, check every second(?) - reconnects (dates and...
The current middleware design allows you to affect the internal state of a handler-specification[1] before the handler(s) are triggered. The middlewares themselves are simply given the event instance and returning...
Two issues exists (now closed as this has been created) that suggests to improve the error types. - [Introduce DisgordErr](https://github.com/andersfylling/disgord/issues/74): similar to MySQL package error types. - [Add custom error...
Drops the timeout for each shard, and such improve CPU resource use in idle situations.
This suggestion aims to introduce a control check whenever a ws cmd is sent to Discord. Since we do not retrieve a synchronized response for a given request, as with...
eg. Allows setting image files as avatar, instead of expecting the base64 string to be known
This works: ```go s.Channel(channel.ID).WithContext(context.Background()).CreateMessage(&disgord.CreateMessage{ Content: "Foo", Components: []*disgord.MessageComponent{ { Type: 1, Components: []*disgord.MessageComponent{ { Type: 2, CustomID: "FOO", Label: "Foo Bar", Style: 4, }, }, }, }, }) ``` And...