介绍
本插件为官方插件包之一,通过'/ask' 获取赛博箴言!
安装方法
使用包管理器安装
在项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install axtbot-plugin-cyberbook
pdm
pdm add axtbot-plugin-cyberbook
poetry
poetry add axtbot-plugin-cyberbook
打开项目根目录下的 pyproject.toml 文件, 在 [tool.axtbot] 部分追加写入
plugins = ["axtbot_plugin_cyberbook"]
配置
插件安装成功后 请在 .env 文件中配置 如下内容:
UAPI_KEY=uapi-xxxxxxxxxxxxxxxx
[!NOTE] 对应的Uapi Key请在 Uapis 注册获取并生成API KEY 填入此处!
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_cyberbook-1.0.0.tar.gz.
File metadata
- Download URL: axtbot_plugin_cyberbook-1.0.0.tar.gz
- Upload date:
- Size: 2.9 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 |
58083c18e516ffd503ef845f44fed69258d238fe1a372233e05693dc774943c7
|
|
| MD5 |
15bb799812df2ae96d1b09b489e1c3a4
|
|
| BLAKE2b-256 |
dd656c9383266465de1d08c2b697a85097f41db29bb6e11b3dfb93f344821865
|
File details
Details for the file axtbot_plugin_cyberbook-1.0.0-py3-none-any.whl.
File metadata
- Download URL: axtbot_plugin_cyberbook-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.8 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 |
64fe5765446fd585c0b682a6261f23e93aa85c38735ceedc446b00b2ad850e1d
|
|
| MD5 |
cb8b49b7d50186d65ebfd31a4e80130b
|
|
| BLAKE2b-256 |
b35afcb06cdd1d06c12d04460a6fcf1d1b24cb817c3c17e858b9914d91600683
|