refactor: update OneBot configuration and add platform logo (#4106)

- Renamed "QQ 个人号(OneBot v11)" to "OneBot v11" in the configuration.
- Added a new logo for OneBot in the dashboard assets.
- Updated platform icon retrieval logic to include the new OneBot logo.
This commit is contained in:
Soulter
2025-12-18 15:19:15 +08:00
committed by GitHub
parent 0299aa6e4c
commit 4aced976a8
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ CONFIG_METADATA_2 = {
"callback_server_host": "0.0.0.0",
"port": 6196,
},
"QQ 个人号(OneBot v11)": {
"OneBot v11": {
"id": "default",
"type": "aiocqhttp",
"enable": False,
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

+3 -1
View File
@@ -8,7 +8,9 @@
* @returns {string|undefined} 图标URL
*/
export function getPlatformIcon(name) {
if (name === 'aiocqhttp' || name === 'qq_official' || name === 'qq_official_webhook') {
if (name === 'aiocqhttp') {
return new URL('@/assets/images/platform_logos/onebot.png', import.meta.url).href
} else if (name === 'qq_official' || name === 'qq_official_webhook') {
return new URL('@/assets/images/platform_logos/qq.png', import.meta.url).href
} else if (name === 'wecom' || name === 'wecom_ai_bot') {
return new URL('@/assets/images/platform_logos/wecom.png', import.meta.url).href