Class GuildCommandReceivedEvent

  • All Implemented Interfaces:
    net.dv8tion.jda.api.events.GenericEvent

    public class GuildCommandReceivedEvent
    extends net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent
    • Field Summary

      • Fields inherited from class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent

        channel, messageId
      • Fields inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent

        guild
      • Fields inherited from class net.dv8tion.jda.api.events.Event

        api, responseNumber
    • Constructor Summary

      Constructors 
      Constructor Description
      GuildCommandReceivedEvent​(@NotNull net.dv8tion.jda.api.JDA api, long responseNumber, @NotNull net.dv8tion.jda.api.entities.Message message, java.lang.String command, java.lang.String[] args, boolean resolved)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getArguments()  
      java.lang.String getCommand()  
      boolean isResolved()  
      • Methods inherited from class net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent

        getAuthor, getMember, getMessage, isWebhookMessage
      • Methods inherited from class net.dv8tion.jda.api.events.message.guild.GenericGuildMessageEvent

        getChannel, getMessageId, getMessageIdLong
      • Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent

        getGuild
      • Methods inherited from class net.dv8tion.jda.api.events.Event

        getJDA, getResponseNumber
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GuildCommandReceivedEvent

        public GuildCommandReceivedEvent​(@NotNull
                                         @NotNull net.dv8tion.jda.api.JDA api,
                                         long responseNumber,
                                         @NotNull
                                         @NotNull net.dv8tion.jda.api.entities.Message message,
                                         java.lang.String command,
                                         java.lang.String[] args,
                                         boolean resolved)
    • Method Detail

      • getCommand

        public java.lang.String getCommand()
      • getArguments

        public java.lang.String[] getArguments()
      • isResolved

        public boolean isResolved()