mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Fix
This commit is contained in:
@@ -2,10 +2,10 @@ const { Command } = require('discord.js-commando');
|
|||||||
|
|
||||||
module.exports = class XiaoCommand extends Command {
|
module.exports = class XiaoCommand extends Command {
|
||||||
constructor(client, info) {
|
constructor(client, info) {
|
||||||
|
if (!info.argsPromptLimit) info.argsPromptLimit = 1;
|
||||||
super(client, info);
|
super(client, info);
|
||||||
|
|
||||||
this.argsSingleQuotes = info.argsSingleQuotes || false;
|
this.argsSingleQuotes = info.argsSingleQuotes || false;
|
||||||
this.argsPromptLimit = info.argsPromptLimit || 1;
|
|
||||||
this.throttling = info.unknown ? null : info.throttling || { usages: 1, duration: 2 };
|
this.throttling = info.unknown ? null : info.throttling || { usages: 1, duration: 2 };
|
||||||
this.uses = 0;
|
this.uses = 0;
|
||||||
this.credit = info.credit || [];
|
this.credit = info.credit || [];
|
||||||
|
|||||||
Reference in New Issue
Block a user