Class TextChannelUpdateNSFWEvent

    • Constructor Detail

      • TextChannelUpdateNSFWEvent

        public TextChannelUpdateNSFWEvent​(@Nonnull
                                          JDA api,
                                          long responseNumber,
                                          @Nonnull
                                          TextChannel channel,
                                          boolean oldNsfw)
    • Method Detail

      • getOldNSFW

        public boolean getOldNSFW()
        Whether the channel was marked NSFW before
        Returns:
        True, if the channel was marked NSFW before
      • getNewNSFW

        public boolean getNewNSFW()
        Whether the channel was marked NSFW before
        Returns:
        False, if the channel was marked NSFW before