Class TextChannelUpdateTopicEvent

    • Constructor Detail

      • TextChannelUpdateTopicEvent

        public TextChannelUpdateTopicEvent​(@Nonnull
                                           JDA api,
                                           long responseNumber,
                                           @Nonnull
                                           TextChannel channel,
                                           @Nullable
                                           java.lang.String oldTopic)
    • Method Detail

      • getOldTopic

        @Nullable
        public java.lang.String getOldTopic()
        The old topic
        Returns:
        The old topic, or null
      • getNewTopic

        @Nullable
        public java.lang.String getNewTopic()
        The new topic
        Returns:
        The new topic, or null