chore: config for discord

This commit is contained in:
Junyan Qin
2025-02-02 16:28:21 +08:00
parent 21f16ecd68
commit 5381e09a6c
5 changed files with 73 additions and 2 deletions
+31
View File
@@ -213,6 +213,37 @@
"description": "飞书的bot_name"
}
}
},
{
"title": "Discord 适配器",
"description": "用于接入 Discord",
"properties": {
"adapter": {
"type": "string",
"const": "discord"
},
"enable": {
"type": "boolean",
"default": false,
"description": "是否启用此适配器",
"layout": {
"comp": "switch",
"props": {
"color": "primary"
}
}
},
"client_id": {
"type": "string",
"default": "",
"description": "Discord 的 client_id"
},
"token": {
"type": "string",
"default": "",
"description": "Discord 的 token"
}
}
}
]
}