Skip to content
Success

Changes

Summary

  1. Add support for forum channels (#2184) (commit: f7ac0e7) (details)
Commit f7ac0e72f1d92026ed31a7f7fca80588d4f80539 by noreply
Add support for forum channels (#2184)

* Add ForumChannel#createForumPost
* Add new message count logic
* Reduce code duplication in createXChannel
* Add Category#createNewsChannel
* Add missing docs for IThreadContainer
* Improve handling of thread parents
* Update docs for ThreadChannel
* Add ForumPostAction
* Update docs for archives and add some more missing docs
* Handle default thread slowmode
* Support changing channel flags
* Use FluentRestAction interface
* Add FluentAuditableRestAction
(commit: f7ac0e7)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/ChannelManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheView.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/update/ForumTagUpdateNameEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/Checks.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateFlagsEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/GuildChannelUnion.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheFlag.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/update/ForumTagUpdateEmojiEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/ChannelAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/IWebhookContainerUnion.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateDefaultReactionEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/IPermissionContainerUnion.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/CategoryImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/TextChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/ShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ThreadUpdateHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/ForumPostAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/ChannelType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ThreadListSyncHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/ChannelField.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/MessageChannelUnion.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/update/ForumTagUpdateModeratedEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IGuildChannelContainer.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateAppliedTagsEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Route.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/audit/AuditLogKey.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/ThreadChannelManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/Category.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/AbstractChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/GuildChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/mixin/attribute/IThreadContainerMixin.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/managers/channel/concrete/ForumChannelManagerImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/forums/ForumTagSnowflake.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/AuditableRestAction.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/ForumTagAddEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/pagination/ThreadChannelPaginationActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/CategoryManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/IThreadContainer.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/ChannelActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/TextChannelManager.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/AbstractThreadCreateAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageDeleteHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/ChannelFlag.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/GuildMessageChannelUnion.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/ThreadChannel.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/ForumTagRemoveEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/GenericForumTagEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/ForumChannelManager.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/managers/channel/ChannelManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/Channel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/middleman/StandardGuildMessageChannelManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelCreateHandler.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/forums/ForumPost.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/forum/update/GenericForumTagUpdateEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateDefaultSortOrderEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/IThreadContainerUnion.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/forums/ForumTag.java
The file was addedsrc/main/java/net/dv8tion/jda/api/events/channel/update/ChannelUpdateDefaultThreadSlowmodeEvent.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/forums/BaseForumTag.java
The file was addedsrc/main/java/net/dv8tion/jda/api/managers/channel/attribute/ISlowmodeChannelManager.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/restaction/ThreadChannelAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/concrete/ThreadChannelImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/attribute/ISlowmodeChannel.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/ForumTagImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/ForumChannelImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/ForumTagSnowflakeImpl.java
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/concrete/ForumChannel.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/unions/ChannelUnion.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/channel/middleman/AbstractStandardGuildMessageChannelImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/ForumPostActionImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ThreadCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/ThreadChannelActionImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/channel/middleman/StandardGuildMessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/StageChannelManager.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/entities/channel/forums/ForumTagData.java
The file was addedsrc/main/java/net/dv8tion/jda/api/requests/restaction/FluentAuditableRestAction.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/channel/concrete/NewsChannelManager.java (diff)