From a5da139b97ed39b3814843ee0d4c3fe682495ad1 Mon Sep 17 00:00:00 2001 From: Keanu Date: Wed, 1 Jul 2020 14:44:02 +0200 Subject: [PATCH] Altered the way aliases work. --- src/Structures/Command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Structures/Command.js b/src/Structures/Command.js index 95195b1..f9a9399 100644 --- a/src/Structures/Command.js +++ b/src/Structures/Command.js @@ -6,7 +6,7 @@ module.exports = class Command { this.aliases = options.aliases || []; this.description = options.description || 'No description provided.'; 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