Skip to content

Commit

Permalink
feat: 可以设置发送高清大图
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Apr 1, 2024
1 parent b611ec1 commit 31f266b
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 8 deletions.
10 changes: 7 additions & 3 deletions liteyuki/liteyuki_main/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,16 @@ async def _(bot: T_Bot, event: T_MessageEvent):
"BOT_ID" : bot.self_id,
"BOT_NAME" : (await bot.get_login_info())["nickname"],
"BOT_TAGS" : [
protocol_names.get(version_info.get("protocol_name"), "Linux"), version_info.get("app_name"), version_info.get("app_version"),
f"{ulang.get('liteyuki.stats.groups')} {groups}", f"{ulang.get('liteyuki.stats.friends')} {friends}",
protocol_names.get(version_info.get("protocol_name"), "Online"),
f"{ulang.get('liteyuki.stats.plugins')} {len(nonebot.get_loaded_plugins())}",
f"{ulang.get('liteyuki.stats.groups')} {groups}",
f"{ulang.get('liteyuki.stats.friends')} {friends}",
f"{ulang.get('liteyuki.stats.sent')} {statistics.get('message_sent', 0)}",
f"{ulang.get('liteyuki.stats.received')} {statistics.get('message_received', 0)}",
f"{__NAME__} {__VERSION__}",
f"Nonebot {nonebot.__version__}",
f"{platform.python_implementation()} {platform.python_version()}",
f"Nonebot {nonebot.__version__}", f"{__NAME__} {__VERSION__}"
version_info.get("app_name"),
],
"CPU_TAGS" : [
f"{brand} {cpu_info.get('arch', 'Unknown')}",
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=Empfangen
liteyuki.stats.run_time=Ausführungszeit
liteyuki.stats.groups=Gruppen
liteyuki.stats.friends=Freunde
liteyuki.stats.plugins=Plugins

main.current_language=Aktuelle Sprache: {LANG}
main.enable_webdash=Webüberwachungspanel aktiviert: {URL}
Expand Down
11 changes: 6 additions & 5 deletions liteyuki/resources/lang/en.lang
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ liteyuki.current_config=Current Configuration
liteyuki.static_config=Static File Configuration
liteyuki.stored_config=Stored Configuration
liteyuki.config_set_success=Configuration item {KEY}={VAL} set successfully.
liteyuki.stats.group=Group
liteyuki.stats.user=User
liteyuki.stats.plugin=Plugin
liteyuki.stats.group=Group(s)
liteyuki.stats.user=User(s)
liteyuki.stats.plugin=Plugin(s)
liteyuki.stats.sent=Sent
liteyuki.stats.received=Received
liteyuki.stats.run_time=Run Time
liteyuki.stats.groups=Groups
liteyuki.stats.friends=Friends
liteyuki.stats.groups=Group(s)
liteyuki.stats.friends=Friend(s)
liteyuki.stats.plugins=Plugin(s)

main.current_language=Current language: {LANG}
main.enable_webdash=Web monitoring panel enabled: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/es.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=Recibido
liteyuki.stats.run_time=Tiempo de Ejecución
liteyuki.stats.groups=Grupos
liteyuki.stats.friends=Amigos
liteyuki.stats.plugins=Plugins

main.current_language=Idioma actual: {LANG}
main.enable_webdash=Panel de monitoreo web habilitado: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/fr.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=Reçu
liteyuki.stats.run_time=Temps d'Exécution
liteyuki.stats.groups=Groupes
liteyuki.stats.friends=Amis
liteyuki.stats.plugins=Plugins

main.current_language=Langue actuelle : {LANG}
main.enable_webdash=Tableau de bord Web activé : {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/ja.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=受信
liteyuki.stats.run_time=実行時間
liteyuki.stats.groups=グループ
liteyuki.stats.friends=友達
liteyuki.stats.plugins=プラグイン

main.current_language=現在の言語: {LANG}
main.enable_webdash=Web監視パネルが有効になりました: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/ko.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=받은
liteyuki.stats.run_time=실행 시간
liteyuki.stats.groups=그룹
liteyuki.stats.friends=친구
liteyuki.stats.plugins=플러그인

main.current_language=현재 언어: {LANG}
main.enable_webdash=웹 대시보드가 활성화되었습니다: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/ru.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=Получено
liteyuki.stats.run_time=Время работы
liteyuki.stats.groups=Группы
liteyuki.stats.friends=Друзья
liteyuki.stats.plugins=Плагины

main.current_language=Текущий язык: {LANG}
main.enable_webdash=Веб-панель мониторинга активирована: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-CN.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=接收
liteyuki.stats.run_time=运行时间
liteyuki.stats.groups=群
liteyuki.stats.friends=好友
liteyuki.stats.plugins=插件

main.current_language=当前配置语言为: {LANG}
main.enable_webdash=已启用网页监控面板: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-HK.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=接收
liteyuki.stats.run_time=運行時間
liteyuki.stats.groups=群組
liteyuki.stats.friends=好友
liteyuki.stats.plugins=插件

main.current_language=當前配置語言為: {LANG}
main.enable_webdash=已啟用網頁監控面板: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-Kawaii.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=接收到了
liteyuki.stats.run_time=运行时间
liteyuki.stats.groups=组组
liteyuki.stats.friends=小伙伴们
liteyuki.stats.plugins=插件们

main.current_language=现在的语言是: {LANG}
main.enable_webdash=已经启用网页监控板啦: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-MS.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=接收
liteyuki.stats.run_time=执行时间
liteyuki.stats.groups=团体
liteyuki.stats.friends=伙伴
liteyuki.stats.plugins=器械

main.current_language=现行言语策划为: {LANG}
main.enable_webdash=网络监视版已启动: {URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-SG.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=收到
liteyuki.stats.run_time=运行时间
liteyuki.stats.groups=群组
liteyuki.stats.friends=好友
liteyuki.stats.plugins=插件

main.current_language=目前语言设定为:{LANG}
main.enable_webdash=网页监控板已启用:{URL}
Expand Down
1 change: 1 addition & 0 deletions liteyuki/resources/lang/zh-WY.lang
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ liteyuki.stats.received=受
liteyuki.stats.run_time=動時
liteyuki.stats.groups=群
liteyuki.stats.friends=友
liteyuki.stats.plugins=巢

main.current_language=當前言之: {LANG}
main.enable_webdash=以啟網言見板: {URL}
Expand Down

0 comments on commit 31f266b

Please sign in to comment.