Skip to content
Failed

Changes

Summary

  1. Message interface declutter: Message#getMentions() (#2015) (commit: 728b45e) (details)
Commit 728b45e68501cba880639556b6709c56d25e9686 by noreply
Message interface declutter: Message#getMentions() (#2015)

* Reworked mentions into Message#getMentions
* Add interaction mentions
* Cleanup EntityBuilder#createMessage0
* Make use of UserSnowflake and fix bags
* Improve getMentions and isMentioned code
* Added type-specific getChannels getters
(commit: 728b45e)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/AllowedMentionsImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/AbstractMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was modifiedsrc/examples/java/MessageListenerExample.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Message.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/mentions/AbstractMentions.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/interactions/commands/OptionMapping.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/SystemMessage.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/Mentions.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/MessageMentionsImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/interactions/command/CommandInteractionPayloadImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/InteractionMentions.java