DiscordGo v0.28.0
Changelog
Breaking changes
ChannelEdit.Position
is now a pointer #1385Button.Emoji
is now a pointer #1475SelectMenuOption.Emoji
is now a pointer #1476Components
andEmbeds
inMessageEdit
are now pointers #1483WebhookEdit
andWebhookEditWithToken
now return*Webhook
, instead of*Role
#1497AuditLogGuildScheduledEventUpdare
was renamed toAuditLogGuildScheduledEventUpdate
#1370- Type of
Message.StickerItems
was changed to[]StickerItem
#1494 withMember
parameter was added toSession.ThreadMember
andSession.ThreadMembers
#1325limit
parameter was added toSession.ThreadMembers
#1325
Features
Additions
- Add support for usernames without disciminator #1387
- Add
WebhookParams.ThreadName
#1412 - Add
SuppressNotification
andIsVoiceMessage
message flags #1428 - Add
MessageSend.Flags
#1427 - Add
FailIfNotExists
andSoftReference
toMessage
#1376 - Add
MessageSend.StickerIDs
#1340 - Add
ApplicationCommandInteractionData.CommandType
#1362 - Add
AuditLogOptions.IntegrationType
#1440 - Add
AuditLogOptions.ApplicationID
#1380 - Add auto moderation audit log actions and options #1371
- Add monetization audit log actions #1442
- Add
BotHTTPInteractions
andActiveBotDeveloper
user flags #1465 - Add
ThreadMember.Member
#1325 - Add
Member.Flags
#1499 - Add
Member.DisplayName
#1426 - Add
Attachments
toInteractionResponseData
,WebhookEdit
andWebhookParams
#1392 - Add
Session.ShouldReconnectVoiceOnSessionError
#1350 - Add
Role.Flags
#1410 - Add
UpdateCustomStatus
#1425 - Add Spanish LATAM locale #1496
- Add
GuildDirectory
andGuildMedia
channel types #1514
Other changes
- Fix error shadowing in
WebhookEditWithToken
#1372 - Remove remove duplicated slash in
EndpointGuildTemplate
#1395 - Fix incorrect
AuditLogOptionsType
values #1413 - Allow
Components
andEmbeds
inMessageEdit
to be set to[]
#1483 - Allow
ChannelEdit.Position
to be set to0
#1385 - Fix
BUTTON_COMPONENT_INVALID_EMOJI
error forButton
#1475 - Fix
BUTTON_COMPONENT_INVALID_EMOJI
error forSelectMenuOption
#1476
Special thanks
- @Roolps
- @tckthecreator
- @quackduck
- @Earlopain
- @loghinalexandru
- @merlinfuchs
- @Aldiwildan77
- @Ju0x
- @JulienTant
- @KokeCacao
- @SamusAranX
- @TheGrandPackard
- @phamill
- @AlexeyOplachko
- @Cyb3r-Jak3
- @joshuasing
- @hhaste
Full Changelog: v0.27.1...v0.28.0