Skip to content

DiscordGo v0.28.0

Compare
Choose a tag to compare
@FedorLap2006 FedorLap2006 released this 01 Apr 13:26
· 21 commits to master since this release
68c6268

Changelog

Breaking changes

  • ChannelEdit.Position is now a pointer #1385
  • Button.Emoji is now a pointer #1475
  • SelectMenuOption.Emoji is now a pointer #1476
  • Components and Embeds in MessageEdit are now pointers #1483
  • WebhookEdit and WebhookEditWithToken now return *Webhook, instead of *Role #1497
  • AuditLogGuildScheduledEventUpdare was renamed to AuditLogGuildScheduledEventUpdate #1370
  • Type of Message.StickerItems was changed to []StickerItem #1494
  • withMember parameter was added to Session.ThreadMember and Session.ThreadMembers #1325
  • limit parameter was added to Session.ThreadMembers #1325

Features

  • Onboarding #1401
  • Default values for auto-populated select menus #1452
  • Role icons #1334

Additions

  • Add support for usernames without disciminator #1387
  • Add WebhookParams.ThreadName #1412
  • Add SuppressNotification and IsVoiceMessage message flags #1428
  • Add MessageSend.Flags #1427
  • Add FailIfNotExists and SoftReference to Message #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 and ActiveBotDeveloper user flags #1465
  • Add ThreadMember.Member #1325
  • Add Member.Flags #1499
  • Add Member.DisplayName #1426
  • Add Attachments to InteractionResponseData, WebhookEdit and WebhookParams #1392
  • Add Session.ShouldReconnectVoiceOnSessionError #1350
  • Add Role.Flags #1410
  • Add UpdateCustomStatus #1425
  • Add Spanish LATAM locale #1496
  • Add GuildDirectory and GuildMedia 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 and Embeds in MessageEdit to be set to [] #1483
  • Allow ChannelEdit.Position to be set to 0 #1385
  • Fix BUTTON_COMPONENT_INVALID_EMOJI error for Button #1475
  • Fix BUTTON_COMPONENT_INVALID_EMOJI error for SelectMenuOption #1476

Special thanks

Full Changelog: v0.27.1...v0.28.0