Files
xiao/structures/Command.js
T
Dragon Fire c307cf9214 Fix
2021-01-24 18:20:53 -05:00

19 lines
532 B
JavaScript

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.throttling = info.unknown ? null : info.throttling || { usages: 1, duration: 2 };
this.uses = 0;
this.credit = info.credit || [];
this.credit.push({
name: 'Dragon Fire',
url: 'https://github.com/dragonfire535',
reason: 'Code'
});
}
};