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