mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = class CommandDispatcher {
|
||||
for (let i = 0; i < command.args.length; i++) {
|
||||
const arg = command.args[i];
|
||||
if (arg.infinite) {
|
||||
const infinite = parsed.slice(i);
|
||||
const infinite = parsed._.slice(i);
|
||||
const parsedArgs = [];
|
||||
for (const parsedArg of infinite) {
|
||||
if (arg.isEmpty(parsedArg, msg, arg)) {
|
||||
|
||||
Reference in New Issue
Block a user