chore(deps): update dependency org.javacord:javacord to v3.4.0 #26
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:
3.3.2
->3.4.0
Release Notes
Javacord/Javacord
v3.4.0
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.4.0' }
Maven
Sbt
Manually
The
javacord-3.4.0-shaded.jar
file contains Javacord and all its dependencies.📋 Changelog
Highlights in this release:
Improvements
Server#requestMember(long)
to get a server member by their user id (Added Get Guild Member endpoint Javacord/Javacord#684)DiscordApi#getKnownCustomEmojiOrCreateCustomEmoji(...)
to get custom emojis from different shards (Expose method to get unknown custom emoji Javacord/Javacord#830)MessageAttachment#isEphemeral()
(Add ephemeral field for attachments Javacord/Javacord#870)GUILD
intent is now automatically set (Always include the GUILDS intent Javacord/Javacord#868)DiscordApi#disconnect()
now returns a future (Return a future for disconnect calls. Javacord/Javacord#884)MessageAuthor#getAvatar(...)
now accepts an optional size parameter (Add support for avatar sizes via MessageAuthor Javacord/Javacord#902)MessageSet
to utilize performance-improvements from newer Stream methods likeStream#takeWhile(...)
(Add a Java9+ alternative for MessageSetImpl that works with Stream#takeWhile instead of Stream#filter Javacord/Javacord#938)Bugfixes
User#getMutualServers()
(Fixed inverted logic of User#getMutualServers Javacord/Javacord#821)SlashCommandInteractionOption#getBooleanValue()
(Fix not working boolean option in SlashCommandInteractionOption Javacord/Javacord#841)SlashCommandInteractionOption#isSubcommandOrGroup()
to check the string representation instead of string value (Changed isSubcommandOrGroup to check the stringRepresentation instead of stringValue Javacord/Javacord#872)ServerVoiceChannelEvent
now extendsServerChannelEvent
(Make ServerVoiceChannelEvent extend ServerChannelEvent Javacord/Javacord#918)SlashCommandInteractionOptionImpl#getUserValue()
(Fix SlashCommandInteractionOptionImpl#getUserValue NPE Javacord/Javacord#921)SelectMenuChooseEvent
andServerChangeRulesChannelEvent
(Add missing superclasses Event and ServerEvent Javacord/Javacord#936)sendMessage(...)
variants (Fix ambiguous method resolutions Javacord/Javacord#912)Breaking Changes
User#getMutualServers()
fromCollection<Server>
toSet<Server>
(Fixed inverted logic of User#getMutualServers Javacord/Javacord#821)MessageComponentInteractionBase#getMessageId()
(Discord now provides the message for interactions on ephemeral messages Javacord/Javacord#846)MessageComponentInteractionBase#getMessage()
fromOptional<Message>
toMessage
(Discord now provides the message for interactions on ephemeral messages Javacord/Javacord#846)InteractionMessageBuilder#setFlags(...)
now expectsInteractionCallbackDataFlag
instead ofMessageFlags
enums as parameters (Replaced MessageFlag with InteractionCallbackDataFlag for interaction response types Javacord/Javacord#871)DiscordApi#disconnect()
fromvoid
toCompletableFuture<Void>
(Return a future for disconnect calls. Javacord/Javacord#884)ChannelCategory#getChannels()
fromList<ServerChannel>
toList<RegularServerChannel>
(Threads patch Javacord/Javacord#864)ServerChannel
toRegularServerChannel
(Threads do not have a position) (Threads patch Javacord/Javacord#864)SlashCommandInteractionOption#getIntValue()
withSlashCommandInteractionOption#getLongValue()
andSlashCommandOptionChoiceBuilderDelegate#setValue(int)
withSlashCommandOptionChoiceBuilderDelegate#setValue(long)
(Convert interaction int option to long Javacord/Javacord#899)canCreateInstantInvite
and permission methods from theServerChannel
to the newRegularServerChannel
(Add ServerThreadChannelUpdater & ServerThreadChannelBuilder Javacord/Javacord#903)ServerChannel[Updater|Builder]
toRegularServerChannel[Updater|Builder]
(Add ServerThreadChannelUpdater & ServerThreadChannelBuilder Javacord/Javacord#903)Deprecations
MessageBuilder#addFile(...)
in favor ofMessageBuilder#addAttachment(...)
SlashCommandInteractionOptionsProvider#get[First|Second|Third]Option[Boolean|Long|User|...]Value()
in favor ofgetOption[Boolean|Long|User|...]ValueByIndex(...)
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.