This commit is contained in:
Dragon Fire
2024-05-17 10:07:49 -04:00
parent fd98087243
commit f4768aebac
+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 !== this.args.length - 1 && example.includes(' ')) {
if (arg.type === 'string' && i !== this.args.length - 1 && example.includes(' ')) {
return `"${example}"`;
}
return example;