Add examples

This commit is contained in:
Dragon Fire
2024-05-16 17:16:00 -04:00
parent 9d00180cb3
commit 986d5d90fb
28 changed files with 138 additions and 32 deletions
+4
View File
@@ -59,6 +59,7 @@ module.exports = class CommandDispatcher {
error: stripIndents`
The "${arg.label || arg.key}" argument is required.
${arg.invalidText}
Correct Usage Example: ${command.example(msg)}
`
};
}
@@ -75,6 +76,7 @@ module.exports = class CommandDispatcher {
error: stripIndents`
An invalid value was provided for one of the "${arg.label || arg.key}" arguments.
${arg.invalidText}
Correct Usage Example: ${command.example(msg)}
`
};
}
@@ -91,6 +93,7 @@ module.exports = class CommandDispatcher {
error: stripIndents`
The "${arg.label || arg.key}" argument is required.
${arg.invalidText}
Correct Usage Example: ${command.example(msg)}
`
};
} else {
@@ -107,6 +110,7 @@ module.exports = class CommandDispatcher {
error: stripIndents`
An invalid value was provided for the "${arg.label || arg.key}" argument.
${arg.invalidText}
Correct Usage Example: ${command.example(msg)}
`
};
}