算法来自知乎,可自行百度
计算结果仅供参考
安装💿
pip install nonebot-plugin-workscore
导入📲
在bot.py 导入,语句:
nonebot.load_plugin("nonebot_plugin_workscore")
目录结构📂
初次使用时会创建resource并下载资源文件至resource下
├─resource
├ └─shuang.png.
├ └─shaungboom.png
├ └─yiban.png
├ └─cjrh.jpg
├ └─hencan.png
├─__init__.py
指令💻
ces = on_command("workscore",aliases={"算性价比","性价比计算器","工作性价比"},rule=to_me())
示例
@Eternity. 算性价比
bot 算性价比
每日只请求一次,当news目录中存在当天的新闻时,直接从本地文件发送,不请求api
给个star吧~
截图🖼
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 nonebot_plugin_workscore-0.0.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_workscore-0.0.2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e93c20372c6a630746fca487e527ea17af24f34c224ed0b76badb1fd70b971cc
|
|
| MD5 |
7532cd04bbdf783e31ba9e44d61c74dc
|
|
| BLAKE2b-256 |
dad57c7ac983a999ff3da32d816bf9607dfb44a72325b3527b7d0ef31b0bf9aa
|
File details
Details for the file nonebot_plugin_workscore-0.0.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_workscore-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bdb7a52bcd67a5bb68b5ffd3f0a4dcbec934f40a4b578a130faa3c7209bea42
|
|
| MD5 |
ade019cfd01bf0dd50b3ac1183ea6526
|
|
| BLAKE2b-256 |
89809d8170fb7bc50ef3fc7b84b5515f2ed1c8838187deaed26512f27717b961
|