Class ServerTextChannelBuilder



  • public class ServerTextChannelBuilder
    extends ServerChannelBuilder
    This class is used to create new server text channels.
    • Constructor Detail

      • ServerTextChannelBuilder

        public ServerTextChannelBuilder​(Server server)
        Creates a new server text channel builder.
        Parameters:
        server - The server of the server text channel.
    • Method Detail

      • setTopic

        public ServerTextChannelBuilder setTopic​(String topic)
        Sets the topic of the channel.
        Parameters:
        topic - The topic of the channel.
        Returns:
        The current instance in order to chain call methods.
      • setCategory

        public ServerTextChannelBuilder setCategory​(ChannelCategory category)
        Sets the category of the channel.
        Parameters:
        category - The category of the channel.
        Returns:
        The current instance in order to chain call methods.
      • setSlowmodeDelayInSeconds

        public ServerTextChannelBuilder setSlowmodeDelayInSeconds​(int delay)
        Sets the slowmode of the channel.
        Parameters:
        delay - The delay in seconds.
        Returns:
        The current instance in order to chain call methods.