Interface ForumChannelManager
- All Superinterfaces:
AuditableRestAction<Void>
,ChannelManager<ForumChannel,
,ForumChannelManager> IAgeRestrictedChannelManager<ForumChannel,
,ForumChannelManager> ICategorizableChannelManager<ForumChannel,
,ForumChannelManager> IPermissionContainerManager<ForumChannel,
,ForumChannelManager> IPositionableChannelManager<ForumChannel,
,ForumChannelManager> IPostContainerManager<ForumChannel,
,ForumChannelManager> ISlowmodeChannelManager<ForumChannel,
,ForumChannelManager> IThreadContainerManager<ForumChannel,
,ForumChannelManager> Manager<ForumChannelManager>
,RestAction<Void>
,StandardGuildChannelManager<ForumChannel,
ForumChannelManager>
public interface ForumChannelManager
extends StandardGuildChannelManager<ForumChannel,ForumChannelManager>, IPostContainerManager<ForumChannel,ForumChannelManager>, IAgeRestrictedChannelManager<ForumChannel,ForumChannelManager>, ISlowmodeChannelManager<ForumChannel,ForumChannelManager>
Manager providing functionality to modify a
ForumChannel
.
Example
manager.setName("gamer-forum")
.setSlowmode(10)
.setTopic("Welcome to the gamer forum!")
.queue();
manager.reset(ChannelManager.NSFW | ChannelManager.NAME)
.setName("gamer-forum-nsfw")
.setNSFW(true)
.queue();
-
Field Summary
Fields inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
MAX_REASON_LENGTH
Fields inherited from interface net.dv8tion.jda.api.managers.channel.ChannelManager
APPLIED_TAGS, ARCHIVED, AUTO_ARCHIVE_DURATION, AVAILABLE_TAGS, BITRATE, DEFAULT_LAYOUT, DEFAULT_REACTION, DEFAULT_SORT_ORDER, DEFAULT_THREAD_SLOWMODE, HIDE_MEDIA_DOWNLOAD_OPTIONS, INVITEABLE, LOCKED, NAME, NSFW, PARENT, PERMISSION, PINNED, POSITION, REGION, REQUIRE_TAG, SLOWMODE, TOPIC, TYPE, USERLIMIT
-
Method Summary
Modifier and TypeMethodDescriptionsetDefaultLayout
(ForumChannel.Layout layout) Sets the default layout of the selectedForumChannel
.Methods inherited from interface net.dv8tion.jda.api.requests.restaction.AuditableRestAction
reason
Methods inherited from interface net.dv8tion.jda.api.managers.channel.ChannelManager
getChannel, getGuild, reset, reset, setName
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IAgeRestrictedChannelManager
setNSFW
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.ICategorizableChannelManager
setParent, sync, sync
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPermissionContainerManager
clearOverridesAdded, clearOverridesRemoved, putMemberPermissionOverride, putMemberPermissionOverride, putPermissionOverride, putPermissionOverride, putRolePermissionOverride, putRolePermissionOverride, removePermissionOverride, removePermissionOverride
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPositionableChannelManager
setPosition
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IPostContainerManager
setAvailableTags, setDefaultReaction, setDefaultSortOrder, setTagRequired, setTopic
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.ISlowmodeChannelManager
setSlowmode
Methods inherited from interface net.dv8tion.jda.api.managers.channel.attribute.IThreadContainerManager
setDefaultThreadSlowmode
Methods inherited from interface net.dv8tion.jda.api.managers.Manager
deadline, reset, setCheck, timeout
Methods inherited from interface net.dv8tion.jda.api.requests.RestAction
addCheck, and, and, complete, complete, completeAfter, delay, delay, delay, delay, flatMap, flatMap, getCheck, getJDA, map, mapToResult, onErrorFlatMap, onErrorFlatMap, onErrorMap, onErrorMap, onSuccess, queue, queue, queue, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, queueAfter, submit, submit, submitAfter, submitAfter, zip
-
Method Details
-
setDefaultLayout
@Nonnull @CheckReturnValue ForumChannelManager setDefaultLayout(@Nonnull ForumChannel.Layout layout) Sets the default layout of the selectedForumChannel
.- Parameters:
layout
- The new default layout.- Returns:
- ChannelManager for chaining convenience
- See Also:
-