Class GuildUpdateSystemChannelEvent

    • Constructor Detail

      • GuildUpdateSystemChannelEvent

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

      • getOldSystemChannel

        @Nullable
        public TextChannel getOldSystemChannel()
        The previous system channel.
        Returns:
        The previous system channel
      • getNewSystemChannel

        @Nullable
        public TextChannel getNewSystemChannel()
        The new system channel.
        Returns:
        The new system channel