Releases: servusdei2018/shards
Releases · servusdei2018/shards
shards v2.5.0
Features
- Add
Config
, to configure default intent and state tracking - Implement
NewWithConfig()
Fixes
- Refactored
examples/pingpong
shards v2.4.0
Dependencies
discordgo
updated tov0.28.1
shards v2.3.0
Features
- Add support for
ApplicationCommandBulkOverwrite
- Add support for
ApplicationCommandDelete
Fixes
- Fix potentially unhandled error in (Manager).
New()
shards v2.2.1
shards v2.2.0
Added:
- discordgo bumped to v0.27.1
shards v2.1.0
Added:
- discordgo bumped to v0.26.1
shards v2.0.0
Changed:
- Breaking changes to
Manager.Restart
API
Fixed:
- Fixed an issue where handlers were staying active after a restart, causing duplication issues #17
shards v1.2.6
Added:
discordgo
bumped to v0.25.0, adding support for Stage Instances, Application Commands localization, and more.
shards v1.2.5
Fixes:
- Fixed malformed module name (#14)
shards v1.2.3
Fixes:
-
Due to an error in previous versions, sharding wasn't properly applied to
discordgo
's underlyingSession
, resulting in the sessions not actually being sharded. #6 resolves this issue. -
Sanity check added in
manager.go
to ensure thatStart
's shard initialization behavior always begins with an empty slice. Theoretically, callingStart
repeatedly would result in a superfluous amount of shards.
Added:
- Method
SetShardCount
added, in order to streamline the method for changing the amount of shards in a Manager. - Documentation was improved, and an outdated godoc link was removed.