Class GuildUpdateRulesChannelEvent

    • Constructor Detail

      • GuildUpdateRulesChannelEvent

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

      • getOldRulesChannel

        @Nullable
        public TextChannel getOldRulesChannel()
        The previous rules channel.
        Returns:
        The previous rules channel
      • getNewRulesChannel

        @Nullable
        public TextChannel getNewRulesChannel()
        The new rules channel.
        Returns:
        The new rules channel