v4.0.4-beta1
Pre-release
Pre-release
New
- Introduced
Reaction
andReactionEvent
classes to enhance the functionality of message reactions introduced in v4.0.3. - Added
ReactionsRequest
class as a replacement forReactionRequest
class introduced in v4.0.3. - Added
ReactionsRequestBuilder
class as a replacement forReactionRequestBuilder
class introduced in v4.0.3.
Enhancements
- The real-time listeners
onMessageReactionAdded
andonMessageReactionRemoved
have been improved to return an object ofReactionEvent
class, providing a more robust event model. ReactionsRequestBuilder
has been enhanced to return a list ofReaction
objects, offering a more intuitive and consistent API.
Removals
- Removed the
MessageReaction
class introduced in v4.0.3, transitioning its responsibilities to the newReaction
andReactionEvent
classes. - Removed
myMentionsOnly
method fromMessagesRequestBuilder
introduced in v4.0.2.
Fixes
- Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.