<commit_before>'use babel';
'use strict';

import FriendlyError from './friendly';
import Util from '../util';

/**
 * Has a descriptive message to send in a Discord reply
 */
export default class CommandFormatError extends FriendlyError {
	/**
	 * @param {Object} command - The command the error is for
	 * @param {?Server} server - The Discord.js Server the error is in
	 */
	constructor(command, server = null) {
		super(`Invalid command format. Use ${Util.usage(server ? server.client : null, `help ${command.name}`, server)} for information.`);
		this.name = 'CommandFormatError';
	}
}<commit_msg>Fixed CommandFormatError message<commit_after>'use babel';
'use strict';

import FriendlyError from './friendly';

/**
 * Has a descriptive message to send in a Discord reply
 */
export default class CommandFormatError extends FriendlyError {
	/**
	 * @param {Object} command - The command the error is for
	 * @param {?Server} server - The Discord.js Server the error is in
	 */
	constructor(command, server = null) {
		super(`Invalid command format. Use ${command.bot.util.usage(`help ${command.name}`, server)} for information.`);
		this.name = 'CommandFormatError';
	}
}
{'fraction_non_alphanumeric': 0.1292517006802721, 'fraction_numerical': 0.0, 'mean_word_length': 4.301801801801802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4485047', 'n_tokens_mistral': 341, 'n_tokens_neox': 327, 'n_words': 123}