This repository was archived by the owner on Jun 27, 2023. It is now read-only.
fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0#57
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0#57renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.23.2->v0.24.0Release Notes
bwmarrin/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
masterSince
v.0.23.0we've been recommending everyone to use@masterversion 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:
InteractionResponseTypeswere removed. https://github.com/bwmarrin/discordgo/pull/930InteractionResponseACKWithSourcewas renamed toInteractionResponseDeferredChannelMessageWithSource. https://github.com/bwmarrin/discordgo/pull/930MinValuesinSelectMenuwas changed to*float64, to allow for the default values when field isn't set. https://github.com/bwmarrin/discordgo/pull/1026InteractionApplicationCommandResponseDatahas been renamed toInteractionResponseData. https://github.com/bwmarrin/discordgo/pull/933ButtonEmojiwas renamed toComponentEmoji. https://github.com/bwmarrin/discordgo/pull/954ApplicationCommandInteractionDatahas been removed, useInteraction.ApplicationCommandData()instead. https://github.com/bwmarrin/discordgo/pull/954MessageTypeApplicationCommandwas 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
Embednow is replaced withEmbedsinMessageSendandMessageEdit. https://github.com/bwmarrin/discordgo/pull/1000EndpointApplicationsno longer points to OAuth2 applications. UseEndpointOAuth2Applicationsfor that instead. https://github.com/bwmarrin/discordgo/pull/856TargetUserTypefield inInviteandTargetUserTypetype are renamed toTargetType. Additionally all the constants namedInviteTargetUserType<Name>were renamed toInviteTarget<Name>. See https://github.com/bwmarrin/discordgo/pull/1105 for more infoRedirectURIswere removed fromApplicationUserFlagtype instead ofint. https://github.com/bwmarrin/discordgo/pull/937ErrJSONUnmarshal. For error checkerrors.Isorerrors.Unwrapshould be used. https://github.com/bwmarrin/discordgo/pull/924ErrCodeMaximumFriendsReachedandErrCodeNoteTooLongerror codes were removed. https://github.com/bwmarrin/discordgo/pull/1096New features
InviteCreateandInviteDeleteevents https://github.com/bwmarrin/discordgo/pull/1105Bug fixes
EndpointInvitenow points to correct API endpoint https://github.com/bwmarrin/discordgo/pull/892Other changes
Requiredflag forresp-typeoption of/responsescommand in slash commands example https://github.com/bwmarrin/discordgo/pull/886ActivityandGetCustomEmojistoMessagehttps://github.com/bwmarrin/discordgo/pull/895Permissionsfield toMemberhttps://github.com/bwmarrin/discordgo/pull/902github.com/gorilla/websocketwas bumped to 1.4.2 https://github.com/bwmarrin/discordgo/pull/896ApplicationCommandOptionMentionablehttps://github.com/bwmarrin/discordgo/pull/918ApplicationCommandInteractionDataResolvedhttps://github.com/bwmarrin/discordgo/pull/919UserFlagsconstants types https://github.com/bwmarrin/discordgo/pull/937SessionStartLimitfield toGatewayBotResponsehttps://github.com/bwmarrin/discordgo/pull/949BeforeDeletefield toGuildDeletehttps://github.com/bwmarrin/discordgo/pull/962ActivityTypeCompetinghttps://github.com/bwmarrin/discordgo/pull/990ActivityTypeWatchinghttps://github.com/bwmarrin/discordgo/pull/983ApplicationCommandOptionhttps://github.com/bwmarrin/discordgo/pull/1015Guild.BannerURLmethod https://github.com/bwmarrin/discordgo/pull/1023MembertoMessageReactionAddhttps://github.com/bwmarrin/discordgo/pull/1042MessageFlagsvalues https://github.com/bwmarrin/discordgo/pull/1089DefaultPermissionfield toApplicationCommandhttps://github.com/bwmarrin/discordgo/pull/1071Disabledfield toSelectMenuhttps://github.com/bwmarrin/discordgo/pull/1102Interactionfield toMessagehttps://github.com/bwmarrin/discordgo/pull/1112Special thanks
Full Changelog: bwmarrin/discordgo@v0.23.2...v0.24.0
Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.