Package org.javacord.api.event.server
Interface ServerChangeModeratorsOnlyChannelEvent
-
- All Superinterfaces:
Event,ServerEvent
public interface ServerChangeModeratorsOnlyChannelEvent extends ServerEvent
A server change moderators-only channel event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ServerTextChannel>getNewModeratorsOnlyChannel()Gets the new moderators-only channel of the server.java.util.Optional<ServerTextChannel>getOldModeratorsOnlyChannel()Gets the old moderators-only channel of the server.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldModeratorsOnlyChannel
java.util.Optional<ServerTextChannel> getOldModeratorsOnlyChannel()
Gets the old moderators-only channel of the server.- Returns:
- The old moderators-only channel of the server.
-
getNewModeratorsOnlyChannel
java.util.Optional<ServerTextChannel> getNewModeratorsOnlyChannel()
Gets the new moderators-only channel of the server.- Returns:
- The new moderators-only channel of the server.
-
-