Skip to main content

A lightweight NoneBot2 plugin for querying Genshin Impact UID profile information via Enka. Need nonebot_plugin_htmlrender as prerequisite.

Project description

nonebot-plugin-gspanel-lite

轻量级原神 UID 信息查询插件,通过 Enka 展示公开角色信息。

安装

使用 NB-CLI 安装:

nb plugin install nonebot-plugin-gspanel-lite

也可以使用 pip 安装:

pip install nonebot-plugin-gspanel-lite

使用

发送命令:

/uid 218847690

插件会优先渲染 Enka 页面截图,渲染失败时回退到文本解析结果。

配置

无需配置。

效果图

在收到指令后,会立即贴一个表情表示开始处理:

QQ_1780846050134

等待约20s返回图片结果:

QQ_1780846060866 QQ_1780846079498

图片示例:

4e8f43db5be95a710fc32cef31c45d6f

文本回退示例

nickname lingu李玥
level 57
signature 刚入坑求大佬带带
worldLevel 8
nameCardId 210192
finishAchievementNum 648
towerFloorIndex 8
towerLevelIndex 3
avatarInfoList_count 12
avatar_1 avatarId=10000073 equipList_count=6
avatar_2 avatarId=10000098 equipList_count=6
avatar_3 avatarId=10000052 equipList_count=6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_gspanel_lite-0.1.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_gspanel_lite-0.1.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_gspanel_lite-0.1.2.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_gspanel_lite-0.1.2.tar.gz
Algorithm Hash digest
SHA256 449a83dbda62dbe08e8102f51c9bec19228de74b91dbceb3dbf235a879eb30f3
MD5 79b47d795ae12b24c77449f2c12edf71
BLAKE2b-256 cc2ddd4e1bfc1e309f6c1571dc939ba1d33e61756adc17e4afc9ade44b38c1c0

See more details on using hashes here.

File details

Details for the file nonebot_plugin_gspanel_lite-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_gspanel_lite-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fff35c268cfac13c39605641d9804c1c89d8df8f759bfe32692ba1a022e217
MD5 34c5acc57dbefc5042a64e3d225b48df
BLAKE2b-256 ef6ce9cc5695a1a405212055b13d3d02846ec3e752bf0efa78695c3b6430174e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page