Skip to content

Commit 78b7e61

Browse files
authored
Merge pull request #64 from flashcatcloud/lm_test
Lm test
2 parents cd7fdd0 + 8996539 commit 78b7e61

4 files changed

Lines changed: 32 additions & 8 deletions

File tree

flashduty/en/1. On-call/4. Configure On-call/4.13 Notification Bots.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,11 @@ For WeCom app integration, please refer to the [operation guide](https://docs.fl
174174
- Go to Zoom app in APP
175175
- Search Incoming Webhook, after finding app click Add
176176
- Return to Chat interface, you should see Incoming Webhook app in applications
177-
- Click enter Incoming Webhook app, input /inc connect flashduty command, app returns connection info
177+
- In Channel or Incoming Webhook app, input /inc connect flashduty command, app returns connection info
178178
- Copy specified info from Endpoint, write to Webhook address or Token in notification channel's Zoom bot. Example: EndPoint: https://integrations.zoom.us/chat/webhooks/incomingwebhook/V9S5as-zTXOSUdgMITNEwA, write V9S5as-zTXOSUdgMITNEwA to Webhook address or Token
179179
- Copy Verification Token info, write to Verify Token in notification channel's Zoom bot
180180
- Click top right of Incoming Webhook, add members, add relevant personnel
181+
- If you need @ function, please contact the administrator
181182

182183
<img src="https://api.apifox.com/api/v1/projects/4169655/resources/436270/image-preview" width="800">
183184

flashduty/en/1. On-call/4. Configure On-call/4.7 Templates.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -965,9 +965,20 @@ Responders: {{range .Responders}}@{{.PersonName}} {{end}}{{end}}
965965
},
966966
{{end}}
967967
{
968-
"type": "message",
969-
"text": "Details",
970-
"link": {{printf "%q" .DetailUrl}}
968+
"type": "message",
969+
"text": "Details: {{.DetailUrl}}",
970+
"style": {
971+
"bold": true,
972+
"italic": false
973+
}
974+
},
975+
{
976+
"type": "message",
977+
"text": "Ack: {{.DetailUrl}}?ack=1",
978+
"style": {
979+
"bold": true,
980+
"italic": false
981+
}
971982
},
972983
{
973984
"type": "message",

flashduty/zh/1. On-call/3. 配置管理/4.13 通知机器人.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,11 @@ url: "https://docs.flashcat.cloud/zh/flashduty/notification-bots"
190190
- 进入 APP 中 Zoom 应用
191191
- 搜索 Incoming Webhook, 搜到应用后点击 添加
192192
- 回到 聊天 界面, 可以看到应用中已经有 Incoming Webhook 这个应用了
193-
- 点击 进入 Incoming Webhook 应用,输入 /inc connect flashduty 命令, 应用返回应用连接的信息
193+
- 在 频道 或者 Incoming Webhook 应用,输入 /inc connect flashduty 命令, 应用返回应用连接的信息
194194
- 复制 Endpoint 中指定信息,写入 通知渠道中 Zoom 机器人的 Wekhook 地址或 Token 中。 例如:EndPoint: https://integrations.zoom.us/chat/webhooks/incomingwebhook/V9S5as-zTXOSUdgMITNEwA, 把 V9S5as-zTXOSUdgMITNEwA 写入到 Wekhook 地址或 Token 中。
195195
- 复制 Verification Token 信息,写入 通知渠道中 Zoom 机器人的 Verify Token 中
196196
- 点击 Incoming Webhook 右上角,添加成员,添加相关人员
197+
- 若需要@功能,请联系管理员
197198

198199
<img src="https://api.apifox.com/api/v1/projects/4169655/resources/436270/image-preview" alt="描述" style="display: block; margin: 0 auto;" width="500">
199200

flashduty/zh/1. On-call/3. 配置管理/4.7 配置通知模板.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -970,9 +970,20 @@ msg_type 必填,值为 post
970970
},
971971
{{end}}
972972
{
973-
"type": "message",
974-
"text": "查看详情",
975-
"link": {{printf "%q" .DetailUrl}}
973+
"type": "message",
974+
"text": "查看详情:{{.DetailUrl}}",
975+
"style": {
976+
"bold": true,
977+
"italic": false
978+
}
979+
},
980+
{
981+
"type": "message",
982+
"text": "认领:{{.DetailUrl}}?ack=1",
983+
"style": {
984+
"bold": true,
985+
"italic": false
986+
}
976987
},
977988
{
978989
"type": "message",

0 commit comments

Comments
 (0)