Package com.mrivanplays.jdcf.util
Class CommandDispatcherMessage
- java.lang.Object
-
- net.dv8tion.jda.internal.entities.AbstractMessage
-
- com.mrivanplays.jdcf.util.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.
-
-
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
-
-
-
-
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 classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getChannel
@Nonnull public net.dv8tion.jda.api.entities.MessageChannel getChannel()
Deprecated.- Specified by:
getChannel
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getChannel
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
isFromGuild
public boolean isFromGuild()
Deprecated.
-
getJDA
@Nonnull public net.dv8tion.jda.api.JDA getJDA()
Deprecated.- Specified by:
getJDA
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getJDA
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getGuild
@Nonnull public net.dv8tion.jda.api.entities.Guild getGuild()
Deprecated.- Specified by:
getGuild
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getGuild
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getAuthor
@Nonnull public net.dv8tion.jda.api.entities.User getAuthor()
Deprecated.- Specified by:
getAuthor
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getAuthor
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getMember
@Nonnull public net.dv8tion.jda.api.entities.Member getMember()
Deprecated.- Specified by:
getMember
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMember
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getMentionedMembers
@Nonnull public java.util.List<net.dv8tion.jda.api.entities.Member> getMentionedMembers()
Deprecated.- Specified by:
getMentionedMembers
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMentionedMembers
in classnet.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 interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
isMentioned
in classnet.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 interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMentionedMembers
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getMentionedUsers
@Nonnull public java.util.List<net.dv8tion.jda.api.entities.User> getMentionedUsers()
Deprecated.- Specified by:
getMentionedUsers
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMentionedUsers
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getMentionedChannels
@Nonnull public java.util.List<net.dv8tion.jda.api.entities.TextChannel> getMentionedChannels()
Deprecated.- Specified by:
getMentionedChannels
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMentionedChannels
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getMentionedRoles
@Nonnull public java.util.List<net.dv8tion.jda.api.entities.Role> getMentionedRoles()
Deprecated.- Specified by:
getMentionedRoles
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getMentionedRoles
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
mentionsEveryone
public boolean mentionsEveryone()
Deprecated.- Specified by:
mentionsEveryone
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
mentionsEveryone
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
isEdited
public boolean isEdited()
Deprecated.- Specified by:
isEdited
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
isEdited
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
isWebhookMessage
public boolean isWebhookMessage()
Deprecated.- Specified by:
isWebhookMessage
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
isWebhookMessage
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
getTextChannel
@Nonnull public net.dv8tion.jda.api.entities.TextChannel getTextChannel()
Deprecated.- Specified by:
getTextChannel
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getTextChannel
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
delete
@Nonnull public net.dv8tion.jda.api.requests.restaction.AuditableRestAction<java.lang.Void> delete()
Deprecated.- Specified by:
delete
in interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
delete
in classnet.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 interfacenet.dv8tion.jda.api.entities.Message
- Overrides:
getType
in classnet.dv8tion.jda.internal.entities.AbstractMessage
-
-