Add prompt limit for all args

This commit is contained in:
Dragon Fire
2021-01-24 18:18:28 -05:00
parent f39242f068
commit 0f2f1f7b3a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "127.0.0",
"version": "127.0.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
+1
View File
@@ -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 || [];