Altered the way aliases work.
This commit is contained in:
parent
d3958dcb11
commit
a5da139b97
|
@ -6,7 +6,7 @@ module.exports = class Command {
|
||||||
this.aliases = options.aliases || [];
|
this.aliases = options.aliases || [];
|
||||||
this.description = options.description || 'No description provided.';
|
this.description = options.description || 'No description provided.';
|
||||||
this.category = options.category || 'Miscellaneous';
|
this.category = options.category || 'Miscellaneous';
|
||||||
this.usage = options.usage || 'No usage provided.';
|
this.usage = `${this.client.prefix}${this.name} ${options.usage || ''}`.trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
|
|
Loading…
Reference in New Issue