mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 13:56:25 +02:00
This is better
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
const { Command } = require('discord.js-commando');
|
||||||
|
|
||||||
class XiaoCommand extends Command {
|
class XiaoCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client, info) {
|
||||||
this.argsPromptLimit = 1;
|
super(client, info);
|
||||||
this.argsSingleQuotes = false;
|
|
||||||
|
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