📖 介绍
「ザ・ワールド」ッ! 時よ止まれ!
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-theworld
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-theworld
pdm
pdm add nonebot-plugin-theworld
poetry
poetry add nonebot-plugin-theworld
conda
conda install nonebot-plugin-theworld
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_theworld"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| THEWORLD_ONLY_ADMIN | 否 | true | 是否仅管理员可使用 |
🎉 使用
指令表
| 指令 | 需要@ | 范围 | 说明 |
|---|---|---|---|
| the world/世界/咋瓦鲁多/时间停止 | 否 | 群聊 | 启用全群禁言,持续9秒 |
| 然后时间开始流动/时间流动/解除时停 | 否 | 群聊 | 关闭全群禁言 |
| roadroller/泷泽萝拉哒/食我压路机/压路机 | 否 | 群聊 | 播放动画( |
Release files for nonebot-plugin-theworld 0.1.1
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-theworld-0.1.1.tar.gz | 4.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_theworld-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 MB
Release files / nonebot-plugin-theworld-0.1.1.tar.gz
| Download URL | nonebot-plugin-theworld-0.1.1.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b190d8be731c01a34d02b2a5470401ad7cff3a709640dcd8d7c449ee6fa050ae
|
|
BLAKE2b-256 checksum How to use checksums |
16c136ee965079cd9e7176912c383a898875787be38a312e937f17ad55c98ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / nonebot_plugin_theworld-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_theworld-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edf637a3baff91fc6194908c558a0e7f5942fbe5353e91d5e591018275187a01
|
|
BLAKE2b-256 checksum How to use checksums |
98b97f17d57fd56fa0f5a7d257114be0bcae45b3a9bbb9c9203b7eff82c14d0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|