We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
next_arg
match[2]
1 parent 6df0ea1 commit 8abc46aCopy full SHA for 8abc46a
1 file changed
bot/middleware/commands.ts
@@ -13,7 +13,7 @@ const commandArgs = () => (ctx: CommunityContext, next: () => void) => {
13
if (match[1]) {
14
command = match[1];
15
}
16
- let next_arg = ['', '', match[2]];
+ let next_arg = ['', '', match[2] || ''];
17
while ((next_arg = re_next_arg.exec(next_arg[2])!)) {
18
let quoted_arg = next_arg[1];
19
let unquoted_arg = '';
0 commit comments