Class CommandDispatcherMessage

  • All Implemented Interfaces:
    java.util.Formattable, net.dv8tion.jda.api.entities.ISnowflake, net.dv8tion.jda.api.entities.Message

    @Deprecated
    public final class CommandDispatcherMessage
    extends net.dv8tion.jda.internal.entities.AbstractMessage
    Deprecated.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.dv8tion.jda.api.entities.Message

        net.dv8tion.jda.api.entities.Message.Attachment, net.dv8tion.jda.api.entities.Message.MentionType, net.dv8tion.jda.api.entities.Message.MessageFlag
    • Field Summary

      • Fields inherited from class net.dv8tion.jda.internal.entities.AbstractMessage

        content, isTTS, nonce, UNSUPPORTED
      • Fields inherited from interface net.dv8tion.jda.api.entities.Message

        INVITE_PATTERN, MAX_CONTENT_LENGTH, MAX_FILE_AMOUNT, MAX_FILE_SIZE, MAX_FILE_SIZE_NITRO
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandDispatcherMessage​(java.lang.String content, net.dv8tion.jda.api.JDA jda, net.dv8tion.jda.api.entities.Guild guild, net.dv8tion.jda.api.entities.TextChannel channel, net.dv8tion.jda.api.entities.Member member, java.util.concurrent.ScheduledExecutorService executor)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      net.dv8tion.jda.api.requests.restaction.AuditableRestAction<java.lang.Void> delete()
      Deprecated.
       
      net.dv8tion.jda.api.entities.MessageActivity getActivity()
      Deprecated.
       
      net.dv8tion.jda.api.entities.User getAuthor()
      Deprecated.
       
      net.dv8tion.jda.api.entities.MessageChannel getChannel()
      Deprecated.
       
      net.dv8tion.jda.api.entities.Guild getGuild()
      Deprecated.
       
      long getIdLong()
      Deprecated.
       
      net.dv8tion.jda.api.JDA getJDA()
      Deprecated.
       
      net.dv8tion.jda.api.entities.Member getMember()
      Deprecated.
       
      java.util.List<net.dv8tion.jda.api.entities.TextChannel> getMentionedChannels()
      Deprecated.
       
      java.util.List<net.dv8tion.jda.api.entities.Member> getMentionedMembers()
      Deprecated.
       
      java.util.List<net.dv8tion.jda.api.entities.Member> getMentionedMembers​(net.dv8tion.jda.api.entities.Guild guild)
      Deprecated.
       
      java.util.List<net.dv8tion.jda.api.entities.Role> getMentionedRoles()
      Deprecated.
       
      java.util.List<net.dv8tion.jda.api.entities.User> getMentionedUsers()
      Deprecated.
       
      net.dv8tion.jda.api.entities.TextChannel getTextChannel()
      Deprecated.
       
      net.dv8tion.jda.api.entities.MessageType getType()
      Deprecated.
       
      boolean isEdited()
      Deprecated.
       
      boolean isFromGuild()
      Deprecated.
       
      boolean isMentioned​(net.dv8tion.jda.api.entities.IMentionable mentionable, net.dv8tion.jda.api.entities.Message.MentionType... types)
      Deprecated.
       
      boolean isWebhookMessage()
      Deprecated.
       
      boolean mentionsEveryone()
      Deprecated.
       
      protected void unsupported()
      Deprecated.
       
      • Methods inherited from class net.dv8tion.jda.internal.entities.AbstractMessage

        addReaction, addReaction, appendFormat, clearReactions, clearReactions, clearReactions, editMessage, editMessage, editMessage, editMessageFormat, formatTo, getAttachments, getCategory, getChannelType, getContentDisplay, getContentRaw, getContentStripped, getEmbeds, getEmotes, getEmotesBag, getFlags, getInvites, getJumpUrl, getMentionedChannelsBag, getMentionedRolesBag, getMentionedUsersBag, getMentions, getNonce, getPrivateChannel, getReactionById, getReactionById, getReactionByUnicode, getReactions, getTimeEdited, isFromType, isPinned, isSuppressedEmbeds, isTTS, pin, removeReaction, removeReaction, removeReaction, removeReaction, retrieveReactionUsers, retrieveReactionUsers, suppressEmbeds, unpin
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake

        getId, getTimeCreated
    • Constructor Detail

      • CommandDispatcherMessage

        public CommandDispatcherMessage​(java.lang.String content,
                                        net.dv8tion.jda.api.JDA jda,
                                        net.dv8tion.jda.api.entities.Guild guild,
                                        net.dv8tion.jda.api.entities.TextChannel channel,
                                        net.dv8tion.jda.api.entities.Member member,
                                        java.util.concurrent.ScheduledExecutorService executor)
        Deprecated.
    • Method Detail

      • unsupported

        protected void unsupported()
        Deprecated.
        Specified by:
        unsupported in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getChannel

        @Nonnull
        public net.dv8tion.jda.api.entities.MessageChannel getChannel()
        Deprecated.
        Specified by:
        getChannel in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getChannel in class net.dv8tion.jda.internal.entities.AbstractMessage
      • isFromGuild

        public boolean isFromGuild()
        Deprecated.
      • getJDA

        @Nonnull
        public net.dv8tion.jda.api.JDA getJDA()
        Deprecated.
        Specified by:
        getJDA in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getJDA in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getGuild

        @Nonnull
        public net.dv8tion.jda.api.entities.Guild getGuild()
        Deprecated.
        Specified by:
        getGuild in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getGuild in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getAuthor

        @Nonnull
        public net.dv8tion.jda.api.entities.User getAuthor()
        Deprecated.
        Specified by:
        getAuthor in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getAuthor in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMember

        @Nonnull
        public net.dv8tion.jda.api.entities.Member getMember()
        Deprecated.
        Specified by:
        getMember in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMember in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMentionedMembers

        @Nonnull
        public java.util.List<net.dv8tion.jda.api.entities.Member> getMentionedMembers()
        Deprecated.
        Specified by:
        getMentionedMembers in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMentionedMembers in class net.dv8tion.jda.internal.entities.AbstractMessage
      • isMentioned

        public boolean isMentioned​(@Nonnull
                                   net.dv8tion.jda.api.entities.IMentionable mentionable,
                                   @Nonnull
                                   net.dv8tion.jda.api.entities.Message.MentionType... types)
        Deprecated.
        Specified by:
        isMentioned in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        isMentioned in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMentionedMembers

        @Nonnull
        public java.util.List<net.dv8tion.jda.api.entities.Member> getMentionedMembers​(@Nonnull
                                                                                       net.dv8tion.jda.api.entities.Guild guild)
        Deprecated.
        Specified by:
        getMentionedMembers in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMentionedMembers in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMentionedUsers

        @Nonnull
        public java.util.List<net.dv8tion.jda.api.entities.User> getMentionedUsers()
        Deprecated.
        Specified by:
        getMentionedUsers in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMentionedUsers in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMentionedChannels

        @Nonnull
        public java.util.List<net.dv8tion.jda.api.entities.TextChannel> getMentionedChannels()
        Deprecated.
        Specified by:
        getMentionedChannels in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMentionedChannels in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getMentionedRoles

        @Nonnull
        public java.util.List<net.dv8tion.jda.api.entities.Role> getMentionedRoles()
        Deprecated.
        Specified by:
        getMentionedRoles in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getMentionedRoles in class net.dv8tion.jda.internal.entities.AbstractMessage
      • mentionsEveryone

        public boolean mentionsEveryone()
        Deprecated.
        Specified by:
        mentionsEveryone in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        mentionsEveryone in class net.dv8tion.jda.internal.entities.AbstractMessage
      • isEdited

        public boolean isEdited()
        Deprecated.
        Specified by:
        isEdited in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        isEdited in class net.dv8tion.jda.internal.entities.AbstractMessage
      • isWebhookMessage

        public boolean isWebhookMessage()
        Deprecated.
        Specified by:
        isWebhookMessage in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        isWebhookMessage in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getTextChannel

        @Nonnull
        public net.dv8tion.jda.api.entities.TextChannel getTextChannel()
        Deprecated.
        Specified by:
        getTextChannel in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getTextChannel in class net.dv8tion.jda.internal.entities.AbstractMessage
      • delete

        @Nonnull
        public net.dv8tion.jda.api.requests.restaction.AuditableRestAction<java.lang.Void> delete()
        Deprecated.
        Specified by:
        delete in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        delete in class net.dv8tion.jda.internal.entities.AbstractMessage
      • getActivity

        @Nullable
        public net.dv8tion.jda.api.entities.MessageActivity getActivity()
        Deprecated.
      • getIdLong

        public long getIdLong()
        Deprecated.
      • getType

        @Nonnull
        public net.dv8tion.jda.api.entities.MessageType getType()
        Deprecated.
        Specified by:
        getType in interface net.dv8tion.jda.api.entities.Message
        Overrides:
        getType in class net.dv8tion.jda.internal.entities.AbstractMessage