This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
fix(deps): update module github.com/bwmarrin/discordgo to v0.27.1 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.20.2
->v0.27.1
Release Notes
bwmarrin/discordgo (github.com/bwmarrin/discordgo)
v0.27.1
: DiscordGo v0.27.1Compare Source
Hi everyone. This is a out-of-schedule release, due to a recent breaking change made by Discord in voice API.
What's changed
Fixes
WithContext
option did not have effect on the request sent byRequestWithLockedBucket
#1337ThreadMember.Flags
has not been properly serialized #1335Other changes
Special thanks to @LightningDev1 and @armsnyder.
Full Changelog: bwmarrin/discordgo@v0.27.0...v0.27.1
v0.27.0
: DiscordGo v0.27.0Compare Source
What's Changed
Notices / Breaking changes
Session
now haveoptions ...RequestOption
at the end of the parameter list #1299New features
Other changes
GuildParams
struct #1255Ready
#1227UpdateWatchStatus
function #1291State.Role
inApplicationCommandInteractionDataOption.RoleValue
#1237GuildScheduledEvent*
enum values #1254Files
andAttachments
toMessageEdit
#1253GuildEmojiUpdate
#1261omitempty
inMessageEmbedField
#1262Resolved
toMessageComponentInteractionData
MessageComponentInteractionDataResolved struct #1302BeforeMember
toGuildMemberUpdate
event #1304ClientStatus
toPresence
#1303Channel
struct #1306NSFW
field toApplicationCommand
#1310Special thanks
Full Changelog: bwmarrin/discordgo@v0.26.1...v0.27.0
v0.26.2
: DiscordGo v0.26.2Compare Source
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.
v0.26.1
: DiscordGo v0.26.1Compare Source
Hi all! This release only bumps semantic version of the library and does not contain any new fixes nor features.
This is due to our semantic version previously not matching the actual library version.
v0.26.0
: DiscordGo v0.26.0Compare Source
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 #1191GuildTemplate.UsageCount
was changed toint
#1191GuildChannel
andPrivateChannel
were removed due to deprecation #1203InviteTargetEmbeddedAppliction
was renamed toInviteTargetEmbeddedApplication
#1211NSFW
,Archived
,Locked
andInvitable
were made pointers inChannelEdit
#1199Features
was changed to[]GuildFeature
inUserGuild
#1223ChannelEdit
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 #1228New features
Other changes
with_localizations
flag inApplicationCommands
#1196Dialer
property toSession
#1179 and #1220AppPermissions
field toInteraction
#1206ExpiresAt
field toInvite
#1198Features
field toUserGuild
#1223Name
andDescription
are omitted when unset inGuildTemplate
#1191replied_user
toMessageAllowedMentions
#1175VoiceState
#1190GET
prefix forApplicationCommands
bucketID
#1193GuildID
field toApplicationCommand
#1207omitempty
tochannel_id
inMessageReference
#1002UserGuildMember
#1210GuildMemberParams
#1226Special thanks
Full Changelog: bwmarrin/discordgo@v0.25.0...v0.26.0
v0.25.1
: DiscordGo v0.25.1Compare Source
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.
v0.25.0
: DiscordGo v0.25.0Compare Source
Hi all! This one is not so feature-rich, but is filled with lots of fixes and missing features.
What's Changed
Breaking changes
omitempty
fromEmbeds
inInteractionResponseData
,MessageSend
andMessageEdit
https://github.com/bwmarrin/discordgo/pull/1106RateLimitPerUser
inChannelEdit
was made a pointer https://github.com/bwmarrin/discordgo/pull/1152appID
was removed from the parameters ofInteractionResponseXXX
andFollowupMessageXXX
https://github.com/bwmarrin/discordgo/pull/1125GuildEmojiEdit
now resets whitelisted roles of an emoji when provided withnil
or empty role slice https://github.com/bwmarrin/discordgo/pull/1022New features
IconURL
forGuildPreview
https://github.com/bwmarrin/discordgo/pull/885GuildWithCounts
https://github.com/bwmarrin/discordgo/pull/885GuildMembersSearch
https://github.com/bwmarrin/discordgo/pull/1150GuildEmoji
https://github.com/bwmarrin/discordgo/pull/1153GuildScheduledEventUserAdd
andGuildScheduledEventUserDelete
events https://github.com/bwmarrin/discordgo/pull/1155GuildMemberEditComplex
https://github.com/bwmarrin/discordgo/pull/1122Other changes
RESTError
torestapi.go
https://github.com/bwmarrin/discordgo/pull/1130GuildSubscriptions
field fromIdentify
struct https://github.com/bwmarrin/discordgo/pull/992Session.Debug
is disabled https://github.com/bwmarrin/discordgo/pull/1043MessageReactionAdd
https://github.com/bwmarrin/discordgo/pull/798NSFWLevel
toGuild
https://github.com/bwmarrin/discordgo/pull/1029Flags
toMessageEdit
https://github.com/bwmarrin/discordgo/pull/973RequestGuildMembersList
method https://github.com/bwmarrin/discordgo/pull/1156InviteComplex
https://github.com/bwmarrin/discordgo/pull/1163Special thanks
Full Changelog: bwmarrin/discordgo@v0.24.0...v0.25.0
v0.24.1
: DiscordGo v0.24.1Compare Source
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.
v0.24.0
: DiscordGo v0.24.0Compare Source
Hang tight, this one is the biggest yet
Important notice
From this release forward, DiscordGo will require Go 1.13+ to run.
Breaking changes of
master
Since
v.0.23.0
we've been recommending everyone to use@master
version for slash commands, context menus and other new stuff.This led to a big problem with versioning and breaking changes, because some of the features weren't implemented fully, had some problems didn't properly function or didn't fully reflect the API, and so there was a number of breaking changes since the base feature PRs:
InteractionResponseTypes
were removed. https://github.com/bwmarrin/discordgo/pull/930InteractionResponseACKWithSource
was renamed toInteractionResponseDeferredChannelMessageWithSource
. https://github.com/bwmarrin/discordgo/pull/930MinValues
inSelectMenu
was changed to*float64
, to allow for the default values when field isn't set. https://github.com/bwmarrin/discordgo/pull/1026InteractionApplicationCommandResponseData
has been renamed toInteractionResponseData
. https://github.com/bwmarrin/discordgo/pull/933ButtonEmoji
was renamed toComponentEmoji
. https://github.com/bwmarrin/discordgo/pull/954ApplicationCommandInteractionData
has been removed, useInteraction.ApplicationCommandData()
instead. https://github.com/bwmarrin/discordgo/pull/954MessageTypeApplicationCommand
was replaced byMessageTypeChatInputCommand
. https://github.com/bwmarrin/discordgo/pull/978API version v9
Now DiscordGo uses API v9! Due to this fact this release includes a couple of breaking changes regarding the API:
Breaking changes
Embed
now is replaced withEmbeds
inMessageSend
andMessageEdit
. https://github.com/bwmarrin/discordgo/pull/1000EndpointApplications
no longer points to OAuth2 applications. UseEndpointOAuth2Applications
for that instead. https://github.com/bwmarrin/discordgo/pull/856TargetUserType
field inInvite
andTargetUserType
type are renamed toTargetType
. Additionally all the constants namedInviteTargetUserType<Name>
were renamed toInviteTarget<Name>
. See https://github.com/bwmarrin/discordgo/pull/1105 for more infoRedirectURIs
were removed fromApplication
UserFlag
type instead ofint
. https://github.com/bwmarrin/discordgo/pull/937ErrJSONUnmarshal
. For error checkerrors.Is
orerrors.Unwrap
should be used. https://github.com/bwmarrin/discordgo/pull/924ErrCodeMaximumFriendsReached
andErrCodeNoteTooLong
error codes were removed. https://github.com/bwmarrin/discordgo/pull/1096New features
InviteCreate
andInviteDelete
events https://github.com/bwmarrin/discordgo/pull/1105Bug fixes
EndpointInvite
now points to correct API endpoint https://github.com/bwmarrin/discordgo/pull/892Other changes
Required
flag forresp-type
option of/responses
command in slash commands example https://github.com/bwmarrin/discordgo/pull/886Activity
andGetCustomEmojis
toMessage
https://github.com/bwmarrin/discordgo/pull/895Permissions
field toMember
https://github.com/bwmarrin/discordgo/pull/902github.com/gorilla/websocket
was bumped to 1.4.2 https://github.com/bwmarrin/discordgo/pull/896ApplicationCommandOptionMentionable
https://github.com/bwmarrin/discordgo/pull/918ApplicationCommandInteractionDataResolved
https://github.com/bwmarrin/discordgo/pull/919UserFlags
constants types https://github.com/bwmarrin/discordgo/pull/937SessionStartLimit
field toGatewayBotResponse
https://github.com/bwmarrin/discordgo/pull/949BeforeDelete
field toGuildDelete
https://github.com/bwmarrin/discordgo/pull/962ActivityTypeCompeting
https://github.com/bwmarrin/discordgo/pull/990ActivityTypeWatching
https://github.com/bwmarrin/discordgo/pull/983ApplicationCommandOption
https://github.com/bwmarrin/discordgo/pull/1015Guild.BannerURL
method https://github.com/bwmarrin/discordgo/pull/1023Member
toMessageReactionAdd
https://github.com/bwmarrin/discordgo/pull/1042MessageFlags
values https://github.com/bwmarrin/discordgo/pull/1089DefaultPermission
field toApplicationCommand
https://github.com/bwmarrin/discordgo/pull/1071Disabled
field toSelectMenu
https://github.com/bwmarrin/discordgo/pull/1102Interaction
field toMessage
https://github.com/bwmarrin/discordgo/pull/1112Special thanks
Full Changelog: bwmarrin/discordgo@v0.23.2...v0.24.0
v0.23.2
Compare Source
v0.23.1
: DiscordGo v0.23.1Compare Source
Hi all! v0.23.1 contains a bug fix relating to updating statuses, correcting the casing used in the JSON sent to the gateway, meaning that you can actually update your status now! I envision that there might be more minor fixes in the near future as a continuation of the switch to API v8, but in the meantime make sure to update if you're running into issues with updating your bot's status.
v0.23.0
: DiscordGo v0.23.0Compare Source
Hi all! This is a big one.
API Version 8
The largest change for this version: the library now uses API version 8! Given the breaking changes in the API, there will be some breaking changes in this version:
Intents
field in theIdentify
struct is no longer a pointer, and the use ofMakeIntent
is no longer required.Game
struct is no more, andUpdateStatus
was changed toUpdateGameStatus
to better reflect the API structures. The previous uses ofGame
can now be encompassed inActivity
.int64
rather thanint
throughout the library, as although there are no permissions currently above 32 bits, Discord explicitly notes that they expect to add additional permissions in the future.There will probably be issues that are discovered with the API version change. As always, please feel free to file an issue if any come up!
Additional Changes
Special Thanks To
v0.22.1
Compare Source
v0.22.0
: DiscordGo v0.22.0Compare Source
Hi all! This version is a bit of a smaller one, but with one big change to long-time users of the library: the
develop
branch is no more! We found that the divide was confusing for first-time contributors, and while it was necessary is the old days of Go, modules make the two-branch workflow unnecessary. We will now keep all changes in a single branch for simplicity. Still, we do have a few new features, and I'd be remiss if I didn't mention them:Special Thanks To
for all the help and contributions to this project—leading to this release! You are all very appreciated!
New Features
As a plus, this one-branch workflow should allow us to release...well...releases more often, as instead of a merge all that will be required is a new tag. Move fast and break things, as they say (or said).
v0.21.1
: DiscordGo v0.21.0Compare Source
(note: this release has been directly superseded by v0.21.1 due to a mixup in the merge and the immutability of the Go module proxy; please refer to that version if you're pinning against a version!)
This one was a bit of a long time coming. Say hello to DiscordGo v0.21.0!
Special Thanks To
for all the help and contributions to this project—leading to this release! You are all very appreciated!
Breaking Changes
Session.MessageReactions
now takes additional parameters supporting pagination; set both to""
to retain current functionality. #626Session.RequestGuildMembers
now takes an additional parameter indicating whether to request member presences.Session.Guild
no longer attempts to fetch the guild from the state, bringing it in line with otherSession
methods. UseSession.State.Guild
to do so. #683Bug Fixes
GuildChannelCreateData
added #782discordapp.com
todiscord.com
#772New Features
Want more infomation?
Read the PRs, Issues, Commits associated with this release.
v0.21.0
Compare Source
v0.20.3
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.