mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
This is better
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user