Additions:
- Client constructor option
ws
allows you to set WebSocket options for the Shard WebSockets (440e8f8) - New auto-shard feature (8f8c421)
- Shards based on Discord's recommended shard count
- Enable via Client constructor option
maxShards: "auto"
- Category channel (type 4) support (a83deef, 07d082a)
Fixes:
- Fixed error when constructing Client with no token (60f6b13)
- This is only meant for people who only want to use methods that don't require tokens (e.g. webhooks).
- Fixed and updated Typescript typings (71ebf70, 710f071, e7e5143)
- Fixed error in
Client.getRESTGuild()
(e6a686b) - Add undefined checks for some WebSocket events (3c8f592, e41f765)
- [CommandClient] Fixed case insensitive aliases (a9f7fe9)
- [CommandClient] Fixed subcommand tracking (b7e71f2)