This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
A simpler interface, modular caching, optional contexts
andersfylling
released this
15 Oct 20:13
·
296 commits
to develop
since this release
- client.Event() gives you compile time correctness, compared to the client.On(...) which is checked at runtime.
- Allow mentions
- resource based REST methods
- cancellation for REST methods is no longer part of the main signature. WithContext has been introduced instead
- new cache interface (mix of cache and creation layer for flexibility)
- removed json dependencies. json logic can now be overwritten using the disgord/json pkg
- reduce helper methods (such as disgord.Sort)
- better support for unicode emojis
- replaced install script with a template repo
- permission for guild insight and stream
Patches
- Member sometimes contained a empty guild id
- presence missing activities
- unnecessary allocations in func (m *Member) GetPermissions
- missing audit log events