Skip to content

Commit

Permalink
细节优化
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeRainStarSky committed Feb 3, 2024
1 parent e61ab4e commit 909b7f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ const adapter = new class ICQQAdapter {
if (config.markdown.mode) {
if (config.markdown.mode == "mix")
msgs = [
await this.makeMarkdownMsg(id, pick, msg),
...await this.makeMsg(id, pick, msg),
await this.makeMarkdownMsg(id, pick, msg),
]
else
msgs = [await this.makeMarkdownMsg(id, pick, msg)]
Expand All @@ -285,7 +285,7 @@ const adapter = new class ICQQAdapter {

if (await sendMsg() === false) {
msgs = await this.makeMsg(id, pick,
await Bot.makeForwardMsg([{ message: msg }]))
[await Bot.makeForwardMsg([{ message: msg }])])
await sendMsg()
}

Expand Down

0 comments on commit 909b7f4

Please sign in to comment.