Files
xiao/structures/Command.js
T
Daniel Odendahl Jr 2aa5b0f052 Last try
2018-05-30 12:25:07 +00:00

14 lines
380 B
JavaScript

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.argsSingleQuotes = info.argsSingleQuotes || false;
this.throttling = info.throttling || { usages: 1, duration: 2 };
}
}
module.exports = XiaoCommand;