Interface IThreadContainerManager<T extends IThreadContainer, M extends IThreadContainerManager<T,M>>

Type Parameters:
T - The channel type
M - The manager type
All Superinterfaces:
AuditableRestAction<Void>, ChannelManager<T,M>, Manager<M>, RestAction<Void>
All Known Subinterfaces:
ForumChannelManager, IPostContainerManager<T,M>, MediaChannelManager, NewsChannelManager, StandardGuildMessageChannelManager<T,M>, TextChannelManager

public interface IThreadContainerManager<T extends IThreadContainer, M extends IThreadContainerManager<T,M>> extends ChannelManager<T,M>
Manager abstraction to configure settings related to thread channel containers, such as ForumChannel.
  • Method Details

    • setDefaultThreadSlowmode

      @Nonnull @CheckReturnValue M setDefaultThreadSlowmode(int slowmode)
      Sets the default thread slowmode of the selected channel. This is applied to newly created threads by default.
      Provide 0 to disable slowmode.

      A channel default thread slowmode must not be negative nor greater than ISlowmodeChannel.MAX_SLOWMODE!

      Note: Bots are unaffected by this.
      Having MESSAGE_MANAGE or MANAGE_CHANNEL permission also grants immunity to slowmode.

      Parameters:
      slowmode - The new default thread slowmode (in seconds)
      Returns:
      ChannelManager for chaining convenience
      Throws:
      IllegalArgumentException - If the provided slowmode is negative or greater than 21600
      See Also: