From f4768aebacdc1ea5d3323fae1d12fc9c2fa5de94 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 17 May 2024 10:07:49 -0400 Subject: [PATCH] Fix --- framework/Command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Command.js b/framework/Command.js index cc2df079..ff01a8d4 100644 --- a/framework/Command.js +++ b/framework/Command.js @@ -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;