From 2aa5b0f052304ec502fccd90907a19e4e7d3767d Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 30 May 2018 12:25:07 +0000 Subject: [PATCH] Last try --- structures/Command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/Command.js b/structures/Command.js index e28fc76f..25a07bb6 100644 --- a/structures/Command.js +++ b/structures/Command.js @@ -2,9 +2,9 @@ const { Command } = require('discord.js-commando'); class XiaoCommand extends Command { constructor(client, info) { + if (typeof info.argsPromptLimit === 'undefined') info.argsPromptLimit = 1; super(client, info); - this.argsPromptLimit = info.argsPromptLimit || 1; this.argsSingleQuotes = info.argsSingleQuotes || false; this.throttling = info.throttling || { usages: 1, duration: 2 }; }