v0.8.0
THIS RELEASE IS 100% BREAKING AND REQUIRES GO 1.18
What's Changed
- the
core
package was full removed. all entities live in thediscord
package now and do not offer high level methods anymore - the
bot
package partially replace thecore
package now. It offers theClient
interface(replacement forcore.Bot
) - the
rest
package is now the standard to make requests to discord - caches are now implemented with generics(go 1.18 feature) and and live in the
cache
package bot.New
is now replaced withdisgo.New
info
package contests are moved todisgo
packagejson
package now has a genericNewPtr(t T) *T
function andOptional[T]
type to help with optional & nullable json fields
PRs
- implement application command localization by @TopiSenpai in #130
- unify gateway commands and messages, rename events for consistency by @TopiSenpai in #131
- remove core package and refactor by @TopiSenpai in #129
Full Changelog: v0.7.4...v0.8.0