mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Add prompt limit for all args
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "127.0.0",
|
||||
"version": "127.0.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -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