Class GuildUpdateAfkChannelEvent

    • Constructor Detail

      • GuildUpdateAfkChannelEvent

        public GuildUpdateAfkChannelEvent​(@Nonnull
                                          JDA api,
                                          long responseNumber,
                                          @Nonnull
                                          Guild guild,
                                          @Nullable
                                          VoiceChannel oldAfkChannel)
    • Method Detail

      • getOldAfkChannel

        @Nullable
        public VoiceChannel getOldAfkChannel()
        The old afk channel
        Returns:
        The old afk channel, or null
      • getNewAfkChannel

        @Nullable
        public VoiceChannel getNewAfkChannel()
        The new afk channel
        Returns:
        The new afk channel, or null