介绍
这是官方插件包之一,能通过 /hotlist 获取今天所发生的事!
安装方法
使用包管理器安装
在项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install axtbot-plugin-hotlist
pdm
pdm add axtbot-plugin-hotlist
poetry
poetry add axtbot-plugin-hotlist
如果拉取源代码,请打开 AxTBot 项目根目录下的 pyproject.toml 文件, 在 [tool.axtbot] 部分追加写入
plugins = ["axtbot_plugin_hotlist"]
配置
请在 AxTBot 的根目录下 .env 文件内追加以下配置项
STATIC_URL=你的logos存放网址根
# 该url将被拼接为 url/hotlist/xxx.png 对应不同平台的logo
UAPI_KEY=你的Uapis API KEY
# 该值可在 [Uapis](https://uapis.cn/) 上自行注册平台获取
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axtbot_plugin_hotlist-1.0.0.tar.gz.
File metadata
- Download URL: axtbot_plugin_hotlist-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.28.0 CPython/3.12.3 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b98e0037b896fcc6e76812768e6dcaec335579dcbd55d09fa257132e57637649
|
|
| MD5 |
816810a39ccd78f6efe4e79e0a332bd7
|
|
| BLAKE2b-256 |
1e91bec34f22fc1916dba230179692f21e7ee7d02a21c6a4be89f7917afaec19
|
File details
Details for the file axtbot_plugin_hotlist-1.0.0-py3-none-any.whl.
File metadata
- Download URL: axtbot_plugin_hotlist-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.28.0 CPython/3.12.3 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cc6bea193b9d13170f21b918c30298a6850794cbf2d0d798842e9a2d76a66cd
|
|
| MD5 |
7fe39f9b4e0087a690c3b37d84b4595e
|
|
| BLAKE2b-256 |
f8a5ab74585352d580741d407a4aefce3cecf33c3815af6558b40796b0ce9a59
|