We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084cee1 commit 3fa2c26Copy full SHA for 3fa2c26
packages/uplim-info-gmail/src/main.ts
@@ -23,12 +23,15 @@ function main() {
23
const cutText =
24
text.length > 2000 ? `${text.substring(0, 1995)}...` : text;
25
26
+ // biome-ignore lint/style/useTemplate: エスケープめっちゃ必要でむしろ読みにくくなるので
27
+ const codeBlock = "```\n" + cutText + "\n```";
28
+
29
postMessage({
30
username: "info@uplim.co.jp",
31
parse: "full",
32
avatar_url:
33
"https://cdn.discordapp.com/attachments/792765244040675389/921661726863282176/pngegg.png",
- content: cutText,
34
+ content: codeBlock,
35
});
36
}
37
0 commit comments