Skip to content

Commit

Permalink
fix: cq码解析错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Jun 24, 2024
1 parent 2aa735f commit 364f39e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export abstract class Adapter<T extends string = string, Sendable = any> extends
text: prevText,
},
});
message = message.substring(prevText.length);
}
const [type, ...valueArr] = match.substring(1, match.length - 1).split(",");
result.push({
Expand Down

0 comments on commit 364f39e

Please sign in to comment.