Releases: disgoorg/disgo
Releases · disgoorg/disgo
v0.13.20 - Forum Channel Updates
What's Changed
- implement recent forum updates by @caneleex in #197
- populate
GuildID
inMessage
s from interactions by @TopiSenpai in 9ebbc6e
Full Changelog: v0.13.19...v0.13.20
v0.13.19 - Pagination and Improved Presence UX
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()
toMessage
by @caneleex in 97dd956 - add
GuildFeatureInvitesDisabled
by @caneleex in #192 - rename
CommandNameLocalizations
toNameLocalizations
by @caneleex in 31933fc - replace
rest.UpdateSelfNick
withrest.UpdateCurrentMember
by @caneleex in #199
Breaking
gateway.WithPresence(...)
was renamed togateway.WithPresenceOpts(...)
andgateway.NewXPresence(...)
funcs were renamed togateway.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 toNameLocalizations
- the
limit
parameter inrest.GetGuildScheduledEventUsers
was moved rest.UpdateSelfNick
was replaced withrest.UpdateCurrentMember
as the old endpoint is deprecated (structs were also renamed accordingly)MaxAgree
inInviteCreate
was renamed toMaxAge
(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
What's Changed
- implement gateway resume URL handling by @caneleex in #186
- replace
DeleteMessageDays
withDeleteMessageSeconds
and makerest.AddBan
take atime.Duration
by @caneleex in #195 - add
MessageURL
format toMessage
by @TopiSenpai in 9f10939 - add
ApplicationCommands
toAuditLog
by @caneleex in #193 - add
Scopes
toBotIntegration
by @caneleex in #190
Breaking Changes
rest.AddBan
now takes atime.Duration
instead of anint
ofdeleteMessageDays
Full Changelog: v0.13.17...v0.13.18
v0.13.17 - Slash Command Mentions
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
toMessage
by @caneleex in aebcd69
Breaking Changes
Activity
andActivityTimestamps
now usetime.Time
instead ofint64
AutoModerationTriggerTypeHarmfulLink
was removed as the filter is now used globallyEntries
field inAuditLog
was renamed toAuditLogEntries
to match the API name
Full Changelog: v0.13.16...v0.13.17
v0.13.16
v0.13.15
v0.13.14
v0.13.13
v0.13.12
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