Interface ServerTextChannelBuilderDelegate
-
- All Superinterfaces:
RegularServerChannelBuilderDelegate,ServerChannelBuilderDelegate
public interface ServerTextChannelBuilderDelegate extends RegularServerChannelBuilderDelegate
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 java.util.concurrent.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(java.lang.String topic)Sets the topic of the channel.-
Methods inherited from interface org.javacord.api.entity.channel.internal.RegularServerChannelBuilderDelegate
addPermissionOverwrite, removePermissionOverwrite, setRawPosition
-
Methods inherited from interface org.javacord.api.entity.channel.internal.ServerChannelBuilderDelegate
setAuditLogReason, setName
-
-
-
-
Method Detail
-
setTopic
void setTopic(java.lang.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
java.util.concurrent.CompletableFuture<ServerTextChannel> create()
Creates the server text channel.- Returns:
- The created text channel.
-
-