This commit is contained in:
Dragon Fire
2024-05-24 17:26:47 -04:00
parent 27388026e8
commit f3f53db0fd
+1 -1
View File
@@ -51,7 +51,7 @@ module.exports = class Command {
example(msg) {
const args = this.args.map((arg, i) => {
const example = arg.example(msg, arg);
if (arg.type === 'string' && i !== this.args.length - 1 && example.includes(' ')) {
if (arg.type.id === 'string' && i !== this.args.length - 1 && example.includes(' ')) {
return `"${example}"`;
}
return example;