Interface ServerTextChannelBuilderDelegate
-
- All Superinterfaces:
ServerChannelBuilderDelegate
public interface ServerTextChannelBuilderDelegate extends ServerChannelBuilderDelegate
This class is internally used by theServerTextChannelBuilderto create server text channels. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<ServerTextChannel>create()Creates the server text channel.voidsetCategory(ChannelCategory category)Sets the category of the channel.voidsetSlowmodeDelayInSeconds(int delay)Sets the slowmode delay of the channel.voidsetTopic(String topic)Sets the topic of the channel.-
Methods inherited from interface org.javacord.api.entity.channel.internal.ServerChannelBuilderDelegate
addPermissionOverwrite, removePermissionOverwrite, setAuditLogReason, setName
-
-
-
-
Method Detail
-
setTopic
void setTopic(String topic)
Sets the topic of the channel.- Parameters:
topic- The topic of the channel.
-
setCategory
void setCategory(ChannelCategory category)
Sets the category of the channel.- Parameters:
category- The category of the channel.
-
setSlowmodeDelayInSeconds
void setSlowmodeDelayInSeconds(int delay)
Sets the slowmode delay of the channel.- Parameters:
delay- The delay in seconds.
-
create
CompletableFuture<ServerTextChannel> create()
Creates the server text channel.- Returns:
- The created text channel.
-
-