mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix(web): add discord option for bind code generation (#184)
This commit is contained in:
@@ -607,12 +607,14 @@
|
||||
"noAvailableTypes": "All platform types have been configured",
|
||||
"types": {
|
||||
"feishu": "Feishu",
|
||||
"discord": "Discord",
|
||||
"telegram": "Telegram",
|
||||
"web": "Web",
|
||||
"local": "Local"
|
||||
},
|
||||
"typesShort": {
|
||||
"feishu": "FS",
|
||||
"discord": "DC",
|
||||
"telegram": "TG",
|
||||
"web": "Web",
|
||||
"local": "CLI"
|
||||
|
||||
@@ -603,12 +603,14 @@
|
||||
"noAvailableTypes": "所有平台类型均已配置",
|
||||
"types": {
|
||||
"feishu": "飞书",
|
||||
"discord": "Discord",
|
||||
"telegram": "Telegram",
|
||||
"web": "Web",
|
||||
"local": "本地"
|
||||
},
|
||||
"typesShort": {
|
||||
"feishu": "飞",
|
||||
"discord": "DC",
|
||||
"telegram": "TG",
|
||||
"web": "Web",
|
||||
"local": "CLI"
|
||||
|
||||
@@ -303,7 +303,7 @@ function platformLabel(platformKey: string): string {
|
||||
}
|
||||
|
||||
const platformOptions = computed(() => {
|
||||
const options = new Set<string>(['telegram', 'feishu'])
|
||||
const options = new Set<string>(['telegram', 'feishu', 'discord'])
|
||||
for (const identity of identities.value) {
|
||||
const platform = identity.channel.trim()
|
||||
if (platform) {
|
||||
|
||||
Reference in New Issue
Block a user