Skip to content

shards v1.2.3

Compare
Choose a tag to compare
@servusdei2018 servusdei2018 released this 01 May 04:33
· 41 commits to master since this release
7c1070a

Fixes:

  • Due to an error in previous versions, sharding wasn't properly applied to discordgo's underlying Session, resulting in the sessions not actually being sharded. #6 resolves this issue.

  • Sanity check added in manager.go to ensure that Start's shard initialization behavior always begins with an empty slice. Theoretically, calling Start 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.