Interface ServerChangeModeratorsOnlyChannelEvent

  • All Superinterfaces:
    Event, ServerEvent


    public interface ServerChangeModeratorsOnlyChannelEvent
    extends ServerEvent
    A server change moderators-only channel event.
    • Method Detail

      • getOldModeratorsOnlyChannel

        Optional<ServerTextChannel> getOldModeratorsOnlyChannel​()
        Gets the old moderators-only channel of the server.
        Returns:
        The old moderators-only channel of the server.
      • getNewModeratorsOnlyChannel

        Optional<ServerTextChannel> getNewModeratorsOnlyChannel​()
        Gets the new moderators-only channel of the server.
        Returns:
        The new moderators-only channel of the server.