Package com.reign.kat.lib.command
Class MessageContext
java.lang.Object
com.reign.kat.lib.command.Context
com.reign.kat.lib.command.MessageContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.dv8tion.jda.api.entities.MessageEmbed
The first embed attached (if any)final List<net.dv8tion.jda.api.entities.MessageEmbed>
A list of embeds attached to the messagefinal net.dv8tion.jda.api.entities.Message
The message which invoked the Commandfinal String
The guild's customized prefix from ApiGuildfinal String
The prefix used in the invoking of the Command -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
embeds
A list of embeds attached to the message -
embed
public final net.dv8tion.jda.api.entities.MessageEmbed embedThe first embed attached (if any) -
prefixGuild
The guild's customized prefix from ApiGuild -
prefixUsed
The prefix used in the invoking of the Command -
message
public final net.dv8tion.jda.api.entities.Message messageThe message which invoked the Command
-
-
Constructor Details
-
MessageContext
-
-
Method Details
-
event
public net.dv8tion.jda.api.events.message.MessageReceivedEvent event() -
prefix
-
send
-
send
public void send(net.dv8tion.jda.api.entities.MessageEmbed... embeds)
-