src/structures/commands/BaseCommand.js
/**
     * This function will
     * @param {string} title The title of the argument embed
     * @param {number} index The index at which the check failed
     */
This function will
@param {string} title The title of the argument embed
@param {number} index The index at which the check failed
This function will @param { string } title The title of the argument embed @param { number } index The index at which the check failed
_argumentValidationError(title, index = null) {
        const embed = new Discord.MessageEmbed();
        embed.setTitle(this.name);
        embed.setAuthor(title);
        let description = this.description;
        this.params.forEach((param, index) => {
            description += `\`\`\`cpp\n[${index + 1}] <${param.type}> "${param.description}"\n${param.required ? '#required' : 'defaults: '}${param.default ?  param.default : ''}\`\`\``;
        });
        embed.setDescription(description);
        this.send(embed);
        return false;
    }
_argumentValidationError ( title , index = null ) { const embed = new Discord . MessageEmbed ( ) ; embed . setTitle ( this . name ) ; embed . setAuthor ( title ) ; let description = this . description ; this . params . forEach ( ( param , index ) => { description += ` \` \` \` \n ${ index + 1 } ${ param . type } ${ param . description } \n ${ param . required ? '#required' : 'defaults: ' } ${ param . default ? param . default : '' } \` \` \` ` ; } ) ; embed . setDescription ( description ) ; this . send ( embed ) ; return false ; }
This function will
 @param {string} title The title of the argument embed
 @param {number} index The index at which the check failed
This function will @param { string } title The title of the argument embed @param { number } index The index at which the check failed