This is better

This commit is contained in:
Daniel Odendahl Jr
2018-05-30 12:10:06 +00:00
parent ceaca8da75
commit 637355d7a0
+6 -3
View File
@@ -1,9 +1,12 @@
const { Command } = require('discord.js-commando');
class XiaoCommand extends Command {
constructor(client) {
this.argsPromptLimit = 1;
this.argsSingleQuotes = false;
constructor(client, info) {
super(client, info);
this.argsPromptLimit = info.argsPromptLimit || 1;
this.argsSingleQuotes = info.argsSingleQuotes || false;
this.throttling = info.throttling || { usages: 1, duration: 2 };
}
}