add `AutoID` option
Add `AutoID` option to sharding configuration to explicitly enable automatic shard reservation.
@@ -108,6 +108,7 @@ type Discord struct {
// Sharding holds configuration for guild event sharding.
type Sharding struct {
+ AutoID bool `json:"autoid"`
ID int `json:"id"`
Total int `json:"total"`
}
