Files
certd/packages/ui/certd-server/metadata/notification_discord.yaml

39 lines
948 B
YAML
Raw Normal View History

2025-04-27 15:11:50 +08:00
name: discord
title: Discord 通知
desc: Discord 机器人通知
needPlus: true
input:
webhook:
title: Webhook URL
component:
placeholder: https://discord.com/api/webhooks/xxxxx/xxxx
helper: >-
[Discord Webhook
说明](https://discord.com/developers/docs/resources/webhook#execute-webhook)
required: true
mentionedList:
title: 提醒指定成员
component:
name: a-select
vModel: value
mode: tags
open: false
required: false
helper: 填写成员的Id或者角色Id&id或者everyone
httpsProxy:
title: 代理
component:
placeholder: http://xxxxx:xx
helper: 使用https_proxy
required: false
skipSslVerify:
title: 忽略证书校验
value: false
component:
name: a-switch
vModel: checked
required: false
pluginType: notification
type: builtIn
scriptFilePath: /plugins/plugin-notification/discord/index.js