💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-moyu
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-moyu
pdm
pdm add nonebot-plugin-moyu
poetry
poetry add nonebot-plugin-moyu
conda
conda install nonebot-plugin-moyu
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_moyu')
🎉 使用
指令表
| 指令 | 说明 |
|---|---|
| 摸鱼/摸鱼日历 | 查看今天的摸鱼日历 |
| 摸鱼/摸鱼日历+设置 | 以连续对话的形式设置摸鱼日历的推送时间 |
| 摸鱼/摸鱼日历+设置 小时:分钟 | 设置摸鱼日历的推送时间 |
| 摸鱼/摸鱼日历+状态 | 查看本群的摸鱼日历状态 |
| 摸鱼/摸鱼日历+禁用 | 禁用本群的摸鱼日历推送 |
Release files for nonebot-plugin-moyu 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot-plugin-moyu-0.3.4.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_moyu-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / nonebot-plugin-moyu-0.3.4.tar.gz
| Download URL | nonebot-plugin-moyu-0.3.4.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d605f9e0e95f5035f9fd1c8444379631a1be11d3d839eb0037305de44688b6ab
|
|
BLAKE2b-256 checksum How to use checksums |
a80a12ed06078e2f9b456bf611611a04d5f0768d55257a3f00c3b2583953a2c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.20
|
Release files / nonebot_plugin_moyu-0.3.4-py3-none-any.whl
| Download URL | nonebot_plugin_moyu-0.3.4-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7edd68e8d2303e27c892022ae5ffd190e5307bfd8832e2f1196d8489bbbd4b68
|
|
BLAKE2b-256 checksum How to use checksums |
859e0e9b15daf04e511c25323345cdbd265a4b4934beb7f5598a0aabd153df59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.20
|