Skip to main content

以图片形式将LOL的各种数据发送到QQ中 🎉

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-lolinfo

✨ 基于 NoneBot2 & ShadowAPI 的一个 NoneBot 英雄联盟查询插件 ✨

python license pypi

📖 介绍

将英雄联盟的各种信息发送到QQ中 持续更新中 🚧

🎦 效果

展开

💿 安装

nb plugin install nonebot-plugin-lolinfo
使用包管理工具
pip install nonebot-plugin-lolinfo

🎁 使用

Tips: 支持模糊搜索 🔍

  • /hinfo <英雄名 | 英雄外号>
  • /rinfo <英雄名 | 英雄外号> <分路(可选)>

🛠️ 配置

配置名 数据类型 默认值
lol_api_url str https://shadow403.github.io/nonebot_plugin_lolinfo/urls.json
lol_img_url str https://game.gtimg.cn/images/lol/act/img/item
lol_httpx_headers dict {"User-Agent": "nonebot_plugin_lolinfo"}
lol_httpx_timeout int 40

🍺 感谢


日志
  • v0.1.0 发布此项目
  • v0.1.1 修改 README.md
  • v0.2.0 整体更新 本地合成图片
  • v0.2.1 更新依赖
  • v0.2.2 更新 PluginConfig
  • v0.2.3 更新 PluginConfig | 添加异步处理 httpx.AsyncClient
  • v0.2.4 修复 util_urlpath.py 更新 PluginConfig | 添加超时配置 httpx.timeout
  • v0.2.5 修复🐛 SyntaxError #2
  • v0.3.0 修复🐛 #4 #6 | 更新API链接🔗 | 支持Jinja2 模板渲染
  • v0.3.1 添加 API🔗 变动支持
  • v0.3.2 修复🐛 #8 f-string

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_lolinfo-0.3.2.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

nonebot_plugin_lolinfo-0.3.2-py3-none-any.whl (4.0 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_lolinfo-0.3.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_lolinfo-0.3.2.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.6 Windows/10

File hashes

Hashes for nonebot_plugin_lolinfo-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6166358effdd1a15fef994c7bd4825d0a6ae3f1ed90e8ecd25d13f9679e2652f
MD5 7efc86b875e1cb73dce678aced653100
BLAKE2b-256 65f03a1fe9d2a03e49b3d18021a8a35568bec64167f361bd3b19d25b6d9dd4ee

See more details on using hashes here.

File details

Details for the file nonebot_plugin_lolinfo-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_lolinfo-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf31d8488ff5f6b237f4e9272a57428481ebd7c1142438e80b751bc1c12ea31
MD5 dc4faf4a66bb33241fd3d377a170c9f7
BLAKE2b-256 44578df27c4d06594b142f07049356866baf7fa134b21a856a063903684f78dc

See more details on using hashes here.

Supported by

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