mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
Update watch-git.ts
This commit is contained in:
parent
836e1db91a
commit
2b7f508243
1 changed files with 2 additions and 2 deletions
|
|
@ -29,10 +29,10 @@ export default function (app: any) {
|
|||
const text = `\`${new Date().toISOString()}\` Automatic update from GitHub, pulling files. <https://github.com/NeonGamerBot-QK/slack-zeon/compare/${compareStr}|\`${compareStr}\`>\n\`\`\`${cap(
|
||||
response,
|
||||
1700,
|
||||
)}\`\`\`\n## Current Branch \n<https://github.com/NeonGamerBot-QK/slack-zeon/commit/${bhash}|\`View Changes\`> <https://github.com/NeonGamerBot-QK/slack-zeon/tree/${bhash}|\`Branch\`> **Commit Message**: \`${bcommitMessage.replace(
|
||||
)}\`\`\`\n*Current Branch* \n<https://github.com/NeonGamerBot-QK/slack-zeon/commit/${bhash}|\`View Changes\`> | <https://github.com/NeonGamerBot-QK/slack-zeon/tree/${bhash}|\`Branch\`> *Commit Message*: \`\`\`${bcommitMessage.replace(
|
||||
"\n",
|
||||
"",
|
||||
)}\`\n## Latest Branch\n## Current Branch \n<https://github.com/NeonGamerBot-QK/slack-zeon/commit/${hash}|\`View Changes\`> <https://github.com/NeonGamerBot-QK/slack-zeon/tree/${hash}|\`Branch\`> **Commit Message**: \`${commitMessage}\``;
|
||||
)}\`\`\`\n\n*Latest Branch* \n<https://github.com/NeonGamerBot-QK/slack-zeon/commit/${hash}|\`View Changes\`> | <https://github.com/NeonGamerBot-QK/slack-zeon/tree/${hash}|\`Branch\`> *Commit Message*: \`\`\`${commitMessage}\`\`\``;
|
||||
|
||||
app.client.chat.postMessage({
|
||||
channel: `D07LBMXD9FF`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue