From c307cf9214f9d7c8e97eb7bd1e84e96c9b5f15d8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 24 Jan 2021 18:20:53 -0500 Subject: [PATCH] Fix --- structures/Command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/Command.js b/structures/Command.js index 24fcc49c..bfc29c22 100644 --- a/structures/Command.js +++ b/structures/Command.js @@ -2,10 +2,10 @@ const { Command } = require('discord.js-commando'); module.exports = class XiaoCommand extends Command { constructor(client, info) { + if (!info.argsPromptLimit) info.argsPromptLimit = 1; super(client, info); this.argsSingleQuotes = info.argsSingleQuotes || false; - this.argsPromptLimit = info.argsPromptLimit || 1; this.throttling = info.unknown ? null : info.throttling || { usages: 1, duration: 2 }; this.uses = 0; this.credit = info.credit || [];