Skip to content

Commit

Permalink
join
Browse files Browse the repository at this point in the history
  • Loading branch information
waki285 committed Aug 3, 2023
1 parent 07e2a35 commit 3c0e10a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,12 @@ app.post("/interactions", async (c) => {
body: JSON.stringify({
embeds: [
{
description: results.map(
(x) =>
`${x.key} - GPT4 ${x.gpt4 ? ":o:" : ":x:"} ${x.reason}`,
),
description: results
.map(
(x) =>
`${x.key} - GPT4 ${x.gpt4 ? ":o:" : ":x:"} ${x.reason}`,
)
.join("\n"),
},
],
message_reference: {
Expand Down

0 comments on commit 3c0e10a

Please sign in to comment.