DiscordGo v0.26.0
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 ofDefaultMemberPermissions
andDMPermission
inApplicationCommand
#1075ApplicationCommandPermissionsBatchEdit
has been deprecated #1075Content
,Components
andEmbeds
were made pointers inWebhookEdit
#1174GuildTemplate.Description
was made a pointer #1191- Type of
GuildTemplate.UsageCount
was changed toint
#1191 GuildChannel
andPrivateChannel
were removed due to deprecation #1203InviteTargetEmbeddedAppliction
was renamed toInviteTargetEmbeddedApplication
#1211NSFW
,Archived
,Locked
andInvitable
were made pointers inChannelEdit
#1199- Type of
Features
was changed to[]GuildFeature
inUserGuild
#1223 - Remaining undocumented structs, events and fields were removed. #1225
ChannelEdit
now shares same functional and parameters asChannelEditComplex
#1217GuildMemberEdit
now shares same functional and parameters asGuildMemberEditComplex
#1217ChannelEditComplex
was deprecated in favor ofChannelEdit
#1217GuildMemberEditComplex
was deprecated in favor ofGuildMemberEdit
#1217name
androles
parameters ofGuildEmojiEdit
andGuildEmojiCreate
were placed into aEmojiParams
struct #1217accessToken
,nick
,roles
,mute
anddeaf
parameters ofGuildMemberAdd
were placed in aGuildMemberAddParams
struct #1217name
,color
,hoist
,perms
andmention
parameters ofGuildRoleEdit
were placed into aGuildRoleParams
struct #1217name
anddescription
parameters ofGuildTemplateCreate
andGuildTemplateEdit
were placed into aGuildTemplateParams
struct #1217GuildEmbedEdit
now accepts parameters throughGuildEmbed
struct #1217GuildEmbed.Enabled
was made a pointer #1217GuildRoleCreate
now accepts initial role parameters throughGuildRoleParams
struct #1217g
parameter ofGuildEdit
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 inApplicationCommands
#1196 - Add
Dialer
property toSession
#1179 and #1220 - Add
AppPermissions
field toInteraction
#1206 - Add
ExpiresAt
field toInvite
#1198 - Add
Features
field toUserGuild
#1223 Name
andDescription
are omitted when unset inGuildTemplate
#1191- Add
replied_user
toMessageAllowedMentions
#1175 - fix: check if opus created #1166
- Add ability to reply with embeds #1160
- Add missing fields to
VoiceState
#1190 - Add
GET
prefix forApplicationCommands
bucketID
#1193 - Add
GuildID
field toApplicationCommand
#1207 - Add
omitempty
tochannel_id
inMessageReference
#1002 - Add
UserGuildMember
#1210 - Add missing fields to
GuildMemberParams
#1226
Special thanks
- @Aderlx
- @alfonsohh99
- @andrecego
- @andresperezl
- @ChristianGaertner
- @corbmr
- @drlau
- @EliasStar
- @FedorLap2006
- @iokill
- @khodand
- @ozraru
- @plally
- @QPixel
- @Tri0L
- @uWynell
- @wass88
- @Zachinquarantine
Full Changelog: v0.25.0...v0.26.0