Interface ServerChangeAfkChannelEvent

  • All Superinterfaces:
    Event, ServerEvent

    public interface ServerChangeAfkChannelEvent
    extends ServerEvent
    A server change afk channel event.
    • Method Detail

      • getOldAfkChannel

        java.util.Optional<ServerVoiceChannel> getOldAfkChannel()
        Gets the old afk channel of the server.
        Returns:
        The old afk channel of the server.
      • getNewAfkChannel

        java.util.Optional<ServerVoiceChannel> getNewAfkChannel()
        Gets the new afk channel of the server.
        Returns:
        The new afk channel of the server.