github bwmarrin/discordgo v0.26.0
DiscordGo v0.26.0

latest releases: v0.28.1, v0.28.0, v0.24.2...
2 years ago

Get ready! This release is not so big, but is packed with refactoring changes and fixes.

What's Changed

Notices / Breaking changes

  • DefaultPermission has been deprecated in favor of DefaultMemberPermissions and DMPermission in ApplicationCommand #1075
  • ApplicationCommandPermissionsBatchEdit has been deprecated #1075
  • Content, Components and Embeds were made pointers in WebhookEdit #1174
  • GuildTemplate.Description was made a pointer #1191
  • Type of GuildTemplate.UsageCount was changed to int #1191
  • GuildChannel and PrivateChannel were removed due to deprecation #1203
  • InviteTargetEmbeddedAppliction was renamed to InviteTargetEmbeddedApplication #1211
  • NSFW, Archived, Locked and Invitable were made pointers in ChannelEdit #1199
  • Type of Features was changed to []GuildFeature in UserGuild #1223
  • Remaining undocumented structs, events and fields were removed. #1225
  • ChannelEdit now shares same functional and parameters as ChannelEditComplex #1217
  • GuildMemberEdit now shares same functional and parameters as GuildMemberEditComplex #1217
  • ChannelEditComplex was deprecated in favor of ChannelEdit #1217
  • GuildMemberEditComplex was deprecated in favor of GuildMemberEdit #1217
  • name and roles parameters of GuildEmojiEdit and GuildEmojiCreate were placed into a EmojiParams struct #1217
  • accessToken, nick, roles, mute and deaf parameters of GuildMemberAdd were placed in a GuildMemberAddParams struct #1217
  • name, color, hoist, perms and mention parameters of GuildRoleEdit were placed into a GuildRoleParams struct #1217
  • name and description parameters of GuildTemplateCreate and GuildTemplateEdit were placed into a GuildTemplateParams struct #1217
  • GuildEmbedEdit now accepts parameters through GuildEmbed struct #1217
  • GuildEmbed.Enabled was made a pointer #1217
  • GuildRoleCreate now accepts initial role parameters through GuildRoleParams struct #1217
  • g parameter of GuildEdit was made a pointer, to match other REST methods #1228

New features

  • Application commands: Permissions v2 #1075
  • Auto moderation #1201
  • Application command options: min and max length #1208

Other changes

  • Use with_localizations flag in ApplicationCommands #1196
  • Add Dialer property to Session #1179 and #1220
  • Add AppPermissions field to Interaction #1206
  • Add ExpiresAt field to Invite #1198
  • Add Features field to UserGuild #1223
  • Name and Description are omitted when unset in GuildTemplate #1191
  • Add replied_user to MessageAllowedMentions #1175
  • fix: check if opus created #1166
  • Add ability to reply with embeds #1160
  • Add missing fields to VoiceState #1190
  • Add GET prefix for ApplicationCommands bucketID #1193
  • Add GuildID field to ApplicationCommand #1207
  • Add omitempty to channel_id in MessageReference #1002
  • Add UserGuildMember #1210
  • Add missing fields to GuildMemberParams #1226

Special thanks

Full Changelog: v0.25.0...v0.26.0

Don't miss a new discordgo release

NewReleases is sending notifications on new releases.