Class GuildUpdateCommunityUpdatesChannelEvent

    • Constructor Detail

      • GuildUpdateCommunityUpdatesChannelEvent

        public GuildUpdateCommunityUpdatesChannelEvent​(@Nonnull
                                                       JDA api,
                                                       long responseNumber,
                                                       @Nonnull
                                                       Guild guild,
                                                       @Nullable
                                                       TextChannel oldCommunityUpdatesChannel)
    • Method Detail

      • getOldCommunityUpdatesChannel

        @Nullable
        public TextChannel getOldCommunityUpdatesChannel()
        The previous community updates channel.
        Returns:
        The previous community updates channel
      • getNewCommunityUpdatesChannel

        @Nullable
        public TextChannel getNewCommunityUpdatesChannel()
        The new community updates channel.
        Returns:
        The new community updates channel