Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bot/middleware/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const commandArgs = () => (ctx: CommunityContext, next: () => void) => {
if (match[1]) {
command = match[1];
}
let next_arg = ['', '', match[2]];
let next_arg = ['', '', match[2] || ''];
while ((next_arg = re_next_arg.exec(next_arg[2])!)) {
let quoted_arg = next_arg[1];
let unquoted_arg = '';
Expand Down
Loading