mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
14 lines
380 B
JavaScript
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;
|