diff --git a/src/assets/images/logos/discord.png b/src/assets/images/logos/discord.png new file mode 100644 index 00000000..8818fb4e Binary files /dev/null and b/src/assets/images/logos/discord.png differ diff --git a/src/components/cards/NotificationChannelCard.vue b/src/components/cards/NotificationChannelCard.vue index b8b23a2d..f539260e 100644 --- a/src/components/cards/NotificationChannelCard.vue +++ b/src/components/cards/NotificationChannelCard.vue @@ -49,6 +49,7 @@ const notificationTypeNames: { [key: string]: string } = { vocechat: t('notification.vocechat.name'), synologychat: t('notification.synologychat.name'), slack: t('notification.slack.name'), + discord: t('notification.discord.name'), webpush: t('notification.webpush.name'), custom: t('setting.notification.custom'), } @@ -102,6 +103,8 @@ const getIcon = computed(() => { return getLogoUrl('synologychat') case 'slack': return getLogoUrl('slack') + case 'discord': + return getLogoUrl('discord') case 'webpush': return getLogoUrl('chrome') default: @@ -350,6 +353,47 @@ function onClose() { /> + + + + + + + + + + + + + + = { wechat: wechatLogo, telegram: telegramLogo, slack: slackLogo, + discord: discordLogo, synologychat: synologychatLogo, vocechat: vocechatLogo, downloader: downloaderLogo, diff --git a/src/views/setting/AccountSettingNotification.vue b/src/views/setting/AccountSettingNotification.vue index ee9c76bf..b5de2856 100644 --- a/src/views/setting/AccountSettingNotification.vue +++ b/src/views/setting/AccountSettingNotification.vue @@ -294,6 +294,9 @@ onMounted(() => { {{ t('setting.notification.slack') }} + + Discord + {{ t('setting.notification.synologyChat') }}