通知渠道增加Discord

This commit is contained in:
HankunYu
2025-12-22 02:11:09 +00:00
parent 51aad628b5
commit 355563244c
7 changed files with 85 additions and 0 deletions
+12
View File
@@ -458,6 +458,18 @@ export default {
channelHint: 'Channel to send messages, default is "all"',
channelRequired: 'Channel Name cannot be empty',
},
discord: {
name: 'Discord',
webhookUrl: 'Webhook URL',
webhookUrlHint: 'Discord Webhook URL, format: https://discord.com/api/webhooks/...',
webhookUrlRequired: 'Webhook URL is required',
username: 'Username',
usernameHint: 'Custom username for webhook messages (optional)',
usernamePlaceholder: 'MoviePilot',
avatarUrl: 'Avatar URL',
avatarUrlHint: 'Custom avatar image URL (optional)',
avatarUrlPlaceholder: 'https://example.com/avatar.png',
},
synologychat: {
name: 'Synology Chat',
webhook: 'Webhook URL',
+12
View File
@@ -456,6 +456,18 @@ export default {
channelHint: '消息发送频道,默认`全体`',
channelRequired: '频道名称不能为空',
},
discord: {
name: 'Discord',
webhookUrl: 'Webhook URL',
webhookUrlHint: 'Discord Webhook URL,格式:https://discord.com/api/webhooks/...',
webhookUrlRequired: 'Webhook URL不能为空',
username: '用户名',
usernameHint: '自定义消息显示的用户名(可选)',
usernamePlaceholder: 'MoviePilot',
avatarUrl: '头像URL',
avatarUrlHint: '自定义头像图片URL(可选)',
avatarUrlPlaceholder: 'https://example.com/avatar.png',
},
synologychat: {
name: 'Synology Chat',
webhook: '机器人传入URL',
+12
View File
@@ -447,6 +447,18 @@ export default {
channel: '頻道名稱',
channelHint: '消息發送頻道,默認`全體`',
},
discord: {
name: 'Discord',
webhookUrl: 'Webhook URL',
webhookUrlHint: 'Discord Webhook URL,格式:https://discord.com/api/webhooks/...',
webhookUrlRequired: 'Webhook URL不能為空',
username: '用戶名',
usernameHint: '自定義消息顯示的用戶名(可選)',
usernamePlaceholder: 'MoviePilot',
avatarUrl: '頭像URL',
avatarUrlHint: '自定義頭像圖片URL(可選)',
avatarUrlPlaceholder: 'https://example.com/avatar.png',
},
synologychat: {
name: 'Synology Chat',
webhook: '機器人傳入URL',