Interface ServerChangeAfkChannelEvent

  • All Superinterfaces:
    Event, ServerEvent


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

      • getOldAfkChannel

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

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