Interface ServerChannelUpdaterDelegate
-
- All Known Subinterfaces:
RegularServerChannelUpdaterDelegate,ServerForumChannelUpdaterDelegate,ServerTextChannelUpdaterDelegate,ServerThreadChannelUpdaterDelegate,ServerVoiceChannelUpdaterDelegate
public interface ServerChannelUpdaterDelegateThis class is internally used by theServerChannelUpdaterto update server channels. You usually don't want to interact with this object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetAuditLogReason(java.lang.String reason)Sets the reason for this update.voidsetName(java.lang.String name)Queues the name to be updated.java.util.concurrent.CompletableFuture<java.lang.Void>update()Performs the queued updates.
-
-
-
Method Detail
-
setAuditLogReason
void setAuditLogReason(java.lang.String reason)
Sets the reason for this update. This reason will be visible in the audit log entry(s).- Parameters:
reason- The reason for this update.
-
setName
void setName(java.lang.String name)
Queues the name to be updated.- Parameters:
name- The new name of the channel.
-
update
java.util.concurrent.CompletableFuture<java.lang.Void> update()
Performs the queued updates.- Returns:
- A future to check if the update was successful.
-
-