This commit is contained in:
Dragon Fire
2021-01-24 18:20:53 -05:00
parent 0f2f1f7b3a
commit c307cf9214
+1 -1
View File
@@ -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 || [];