Skip to content

Releases: bwmarrin/discordgo

DiscordGo v0.28.1

01 Apr 13:32
da9e191
Compare
Choose a tag to compare

Hi all! This release, once again, only bumps semantic version of the library and does not contain any new fixes nor features.
Sorry for the inconvenience! See previous release for changelog.

DiscordGo v0.28.0

01 Apr 13:26
68c6268
Compare
Choose a tag to compare

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

DiscordGo v0.26.3

11 Jan 14:55
97c1178
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.25.2

11 Jan 14:56
dc6b552
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.24.2

11 Jan 14:56
20c19bd
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.25.1

15 Mar 02:19
b14883a
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

DiscordGo v0.24.1

15 Mar 02:20
35477eb
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

DiscordGo v0.26.2

14 Mar 23:49
6957f19
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on v0.26.x versions, please update to this patch. Some of the Voice API may stop working in previous patches on March 15th.

DiscordGo v0.27.1

09 Mar 23:44
cd4f875
Compare
Choose a tag to compare

Hi everyone. This is a out-of-schedule release, due to a recent breaking change made by Discord in voice API.

⚠️ If you have any voice related functionality, please update to this version. Voice API in previous versions will stop working on March 15th.

What's changed

Fixes

  • Use 74 byte handshake in voice UDP connection #1343
  • WithContext option did not have effect on the request sent by RequestWithLockedBucket #1337
  • ThreadMember.Flags has not been properly serialized #1335

Other changes

  • Add GIF sticker format #1330

Special thanks to @LightningDev1 and @armsnyder.

Full Changelog: v0.27.0...v0.27.1

DiscordGo v0.27.0

18 Jan 00:29
cbf9908
Compare
Choose a tag to compare

What's Changed

Notices / Breaking changes

  • All REST methods of the Session now have options ...RequestOption at the end of the parameter list #1299

New features

  • Forum channels #1246
  • Regex automod trigger #1275
  • Automod allow list and mentions #1305
  • Auto populated select menus #1269
  • Role connections #1295
  • Audit Log Reason, HTTP context, accepted locale and per-request options #1299

Other changes

  • Add missing fields to GuildParams struct #1255
  • Add missing fields to Ready #1227
  • Add UpdateWatchStatus function #1291
  • Fix incorrect call of State.Role in ApplicationCommandInteractionDataOption.RoleValue #1237
  • Fix type of GuildScheduledEvent* enum values #1254
  • Fix form file field name format in MultipartBodyWithJSON #1256
  • Add Files and Attachments to MessageEdit #1253
  • Overwrite entire emoji list on GuildEmojiUpdate #1261
  • Remove omitempty in MessageEmbedField #1262
  • Continue to next packet if received broken packet in voice #1260
  • Add support for emojis with longer ids in EmojiRegex #1274
  • Fix the problem of reconnecting when moved to another VC #1271
  • Add Resolved to MessageComponentInteractionData MessageComponentInteractionDataResolved struct #1302
  • Add BeforeMember to GuildMemberUpdate event #1304
  • Add ClientStatus to Presence #1303
  • Add Forum settings to Channel struct #1306
  • Add NSFW field to ApplicationCommand #1310
  • Add size parameters for Guild.IconURL, GuildPreview.IconURL and Guild.BannerURL #1301

Special thanks

Full Changelog: v0.26.1...v0.27.0