This commit is contained in:
Dragon Fire
2021-06-05 18:31:14 -04:00
parent dfc54d9747
commit 40fb574a8b
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ module.exports = class Command {
usage() {
const args = this.args
.map(arg => `${arg.default ? '[' : '<'}${arg.label || arg.name}${arg.default ? ']' : '>'}`).join(' ');
.map(arg => `${arg.default ? '[' : '<'}${arg.label || arg.key}${arg.default ? ']' : '>'}`).join(' ');
return `\`${this.client.commandPrefix}${this.name} ${args}\` or \`@${this.client.user.tag} ${this.name} ${args}\``;
}