mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 23:05:04 +02:00
Add prompt limit for all args
This commit is contained in:
@@ -5,6 +5,7 @@ module.exports = class XiaoCommand extends Command {
|
||||
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