Skip to content

Releases: disgoorg/disgo

v0.13.20 - Forum Channel Updates

14 Sep 21:18
f04f463
Compare
Choose a tag to compare

What's Changed

  • implement recent forum updates by @caneleex in #197
  • populate GuildID in Messages from interactions by @TopiSenpai in 9ebbc6e

Full Changelog: v0.13.19...v0.13.20

v0.13.19 - Pagination and Improved Presence UX

08 Sep 14:56
1c504a9
Compare
Choose a tag to compare

What's Changed

  • pagination helpers by @TopiSenpai in #183
  • improve presence UX by @caneleex in #196
  • payload type consistency fixes by @caneleex in #198
  • add JumpURL() to Message by @caneleex in 97dd956
  • add GuildFeatureInvitesDisabled by @caneleex in #192
  • rename CommandNameLocalizations to NameLocalizations by @caneleex in 31933fc
  • replace rest.UpdateSelfNick with rest.UpdateCurrentMember by @caneleex in #199

Breaking

  • gateway.WithPresence(...) was renamed to gateway.WithPresenceOpts(...) and gateway.NewXPresence(...) funcs were renamed to gateway.WithXPresence(...). This change makes all presence data optional, meaning you won't have to pass unwanted data on every presence update.

Example:

bot.WithGatewayConfigOpts(
	gateway.WithPresenceOpts(gateway.WithListeningActivity("music")),
	...
)

New funcs:
gateway.WithOnlineStatus(...)
gateway.WithAfk(...)
gateway.WithSince(...)

  • some payload field types were changed to match the behavior of the Discord API
  • CommandNameLocalizations fields were renamed to NameLocalizations
  • the limit parameter in rest.GetGuildScheduledEventUsers was moved
  • rest.UpdateSelfNick was replaced with rest.UpdateCurrentMember as the old endpoint is deprecated (structs were also renamed accordingly)
  • MaxAgree in InviteCreate was renamed to MaxAge (this probably didn't even need to be mentioned since no one complained lol)

Full Changelog: v0.13.18...v0.13.19

v0.13.18 - Gateway Resume URL Handling

30 Aug 17:28
6ea9ab4
Compare
Choose a tag to compare

What's Changed

  • implement gateway resume URL handling by @caneleex in #186
  • replace DeleteMessageDays with DeleteMessageSeconds and make rest.AddBan take a time.Duration by @caneleex in #195
  • add MessageURL format to Message by @TopiSenpai in 9f10939
  • add ApplicationCommands to AuditLog by @caneleex in #193
  • add Scopes to BotIntegration by @caneleex in #190

Breaking Changes

  • rest.AddBan now takes a time.Duration instead of an int of deleteMessageDays

Full Changelog: v0.13.17...v0.13.18

v0.13.17 - Slash Command Mentions

23 Aug 20:43
72321bc
Compare
Choose a tag to compare

What's Changed

  • add support for slash command mentions by @caneleex in #194
  • add CreatedAt() to most entities and improve type consistency of stored timestaps by @caneleex in #185
  • remove AutoModerationTriggerTypeHarmfulLink by @caneleex in #188
  • add AutoModerationTriggerTypeMentionSpam by @caneleex in cedb59b
  • add Position to Message by @caneleex in aebcd69

Breaking Changes

  • Activity and ActivityTimestamps now use time.Time instead of int64
  • AutoModerationTriggerTypeHarmfulLink was removed as the filter is now used globally
  • Entries field in AuditLog was renamed to AuditLogEntries to match the API name

Full Changelog: v0.13.16...v0.13.17

v0.13.16

10 Aug 19:43
7ef9991
Compare
Choose a tag to compare

What Changed

  • fix CDNEndpoints not applied size param by @caneleex and @TopiSenpai in b82cc64 and 7ef9991

Full Changelog: v0.13.15...v0.13.16

v0.13.15

08 Aug 18:55
fab4160
Compare
Choose a tag to compare

What's Changed

  • remove CustomID by @caneleex in #184
  • add NewListenerChan to create a listener which takes a channel by @TopiSenpai in da55024

Breaking Changes

  • CustomID type is now gone and it's just a string now

Full Changelog: v0.13.14...v0.13.15

v0.13.14

07 Aug 19:08
Compare
Choose a tag to compare

What Changed

  • fix panic in gatewayHandlerThreadDelete by @TopiSenpai in e9475e3

Full Changelog: v0.13.13...v0.13.14

v0.13.13

07 Aug 16:14
Compare
Choose a tag to compare

What Changed

  • fix broken CDN urls by @caneleex in 2e39972

Full Changelog: v0.13.12...v0.13.13

v0.13.12

07 Aug 13:33
Compare
Choose a tag to compare

What's Changed

  • initial forum channel support by @TopiSenpai in #139
  • fixed an issue with getting the ApplicationID from newer bot tokens by @caneleex in 3e98e96
  • fixed an issue with query values by @TopiSenpai in 3a5f852

Breaking Changes

  • fix inconsistent naming of XFlagNone to XFlagsNone by @TopiSenpai in 7c1b275

Full Changelog: v0.13.11...v0.13.12

v0.13.11

04 Aug 18:56
Compare
Choose a tag to compare

What's Changed

  • rework rest & cdn endpoint handling by @TopiSenpai in #180
  • Fix 1006 close code error by @TopiSenpai in #182

Full Changelog: v0.13.10...v0.13.11