Skip to content

Commit d30bf60

Browse files
authored
Update App Update Script.js
removing triple backticks
1 parent 242be34 commit d30bf60

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

Parsers/App Update Script.js

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ flags:gmi
55
*/
66

77
const eric_script = `
8-
\`\`\`
98
/*----------------------------------------------------*/
109
/* AUTO */
1110
/* Have a bunch of apps that need to be updated? */
@@ -101,35 +100,34 @@ if (grSBIP.get(updateObj.batch_installation_id)) {
101100
"\\n\\n-----------------------------------------------\\n\\nAll apps appear to be up-to-date. \\n\\nIf you think this is incorrect please try running this script again with \`updateCheck\` set to \`true\`. This will check the store for any new updates.\\n(sometimes there are apps in the Application Manager that say that there are updates but you can't actually update them)\\n\\n-----------------------------------------------\\n\\n"
102101
);
103102
}
104-
\`\`\`
105103
`;
106104

107105
//const message = "<@U6E2TEKQ9> made a cool script for bulk updating apps!\n\n" + eric_script;
108106
const message = {
109-
"blocks": [
110-
{
111-
"type": "rich_text",
112-
"elements": [
113-
{
114-
"type": "rich_text_section",
115-
"elements": [
116-
{
117-
"type": "text",
118-
"text": "<@U6E2TEKQ9> made a cool script for bulk updating apps!\n\n"
119-
}
120-
]
121-
},
122-
{
123-
"type": "rich_text_preformatted",
124-
"elements": [
125-
{
126-
"type": "text",
127-
"text": eric_script
128-
}
129-
]
130-
}
131-
]
132-
}
133-
]
107+
"blocks": [
108+
{
109+
"type": "rich_text",
110+
"elements": [
111+
{
112+
"type": "rich_text",
113+
"elements": [
114+
{
115+
"type": "text",
116+
"text": "<@U6E2TEKQ9> made a cool script for bulk updating apps!\n\n"
117+
}
118+
]
119+
},
120+
{
121+
"type": "rich_text_preformatted",
122+
"elements": [
123+
{
124+
"type": "text",
125+
"text": eric_script
126+
}
127+
]
128+
}
129+
]
130+
}
131+
]
134132
}
135133
new x_snc_slackerbot.Slacker().send_chat(current, message, true);

0 commit comments

Comments
 (0)