Interface ServerTextChannelUpdaterDelegate
-
- All Superinterfaces:
ServerChannelUpdaterDelegate
public interface ServerTextChannelUpdaterDelegate extends ServerChannelUpdaterDelegate
This class is internally used by theServerTextChannelUpdaterto update 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 voidremoveCategory()Queues the category to be removed.voidsetCategory(ChannelCategory category)Queues the category to be updated.voidsetNsfwFlag(boolean nsfw)Queues the nsfw to be updated.voidsetSlowmodeDelayInSeconds(int delay)Sets the slowmode delay.voidsetTopic(String topic)Queues the topic to be updated.-
Methods inherited from interface org.javacord.api.entity.channel.internal.ServerChannelUpdaterDelegate
addPermissionOverwrite, removePermissionOverwrite, setAuditLogReason, setName, setRawPosition, update
-
-
-
-
Method Detail
-
setTopic
void setTopic(String topic)
Queues the topic to be updated.- Parameters:
topic- The new topic of the channel.
-
setNsfwFlag
void setNsfwFlag(boolean nsfw)
Queues the nsfw to be updated.- Parameters:
nsfw- The new nsfw flag of the channel.
-
setCategory
void setCategory(ChannelCategory category)
Queues the category to be updated.- Parameters:
category- The new category of the channel.
-
removeCategory
void removeCategory()
Queues the category to be removed.
-
setSlowmodeDelayInSeconds
void setSlowmodeDelayInSeconds(int delay)
Sets the slowmode delay.- Parameters:
delay- The delay in seconds.
-
-