Files
xiao/structures/Command.js
T
2020-05-24 23:58:19 -04:00

18 lines
477 B
JavaScript

const { Command } = require('discord.js-commando');
module.exports = class XiaoCommand extends Command {
constructor(client, info) {
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'
});
}
};