DiscordGo v0.25.0
Hi all! This one is not so feature-rich, but is filled with lots of fixes and missing features.
What's Changed
Breaking changes
- Removed
omitempty
fromEmbeds
inInteractionResponseData
,MessageSend
andMessageEdit
#1106 RateLimitPerUser
inChannelEdit
was made a pointer #1152appID
was removed from the parameters ofInteractionResponseXXX
andFollowupMessageXXX
#1125GuildEmojiEdit
now resets whitelisted roles of an emoji when provided withnil
or empty role slice #1022
New features
- Stage Instances #1158
IconURL
forGuildPreview
#885GuildWithCounts
#885- Added
GuildMembersSearch
#1150 - Added
GuildEmoji
#1153 - Added
GuildScheduledEventUserAdd
andGuildScheduledEventUserDelete
events #1155 - Custom JSON marshal/unmarshal functions #1162
- Added
GuildMemberEditComplex
#1122 - Application commands localization #1143
Other changes
- Removed appID comment from InteractionRespond method #1123
- Moved
RESTError
torestapi.go
#1130 - Removed
GuildSubscriptions
field fromIdentify
struct #992 - Add missing permission constants (UseActivities, ManageEvents, UseExternalStickers) #1144
- Fix debug message printing when
Session.Debug
is disabled #1043 - Update Go version in CI by @Jleagle in #1147
- Showcase of parsing options into a map in slash commands example #1129
- Removed omitempty from non-optional MessageEmbed* fields #1001
- Added example of emojiID to
MessageReactionAdd
#798 - Added
NSFWLevel
toGuild
#1029 - Fixed shadowed error variables #1030
- Added option to disable rate-limited requests retry #1151
- Added
Flags
toMessageEdit
#973 - Added
RequestGuildMembersList
method #1156 - Added
InviteComplex
#1163
Special thanks
- @42atomys
- @awildboop
- @ben-mckernan
- @ceriath
- @cheesycod
- @danbrakeley
- @evieDelta
- @FedorLap2006
- @fiatjaf
- @ghost
- @Jarvvski
- @Jleagle
- @nixxquality
- @njhanley
- @Pancake-e
- @racerxdl
- @shawntoffel
- @switchupcb
- @TopiSenpai
Full Changelog: v0.24.0...v0.25.0