Class ApplicationCommandInteractionEvent

    • Method Detail

      • getCommandId

        public Snowflake getCommandId()
        Gets the ID of the invoked command.
        Returns:
        The ID of the invoked command.
      • getCommandName

        public String getCommandName()
        Gets the name of the invoked command.
        Returns:
        The name of the invoked command.
      • getCommandType

        public ApplicationCommand.Type getCommandType()
        Gets the type of the invoked command.
        Returns:
        The type of the invoked command.