This commit is contained in:
Dragon Fire
2024-05-16 17:19:29 -04:00
parent cb15b0a729
commit b77d7cdf4b
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = class Command {
example(msg) {
const args = this.args.map((arg, i) => {
const example = arg.example(msg, arg);
if (i !== args.length - 1 && example.includes(' ')) {
if (i !== this.args.length - 1 && example.includes(' ')) {
return `"${example}"`;
}
return example;