✨Nonebot兽语译者插件✨
Project description
✔ 使用例
💿 安装
1. nb-cli安装(推荐)
bot根目录下打开命令行,执行nb命令安装插件,插件配置会自动添加至配置文件
nb plugin install nonebot_plugin_animalVoice
2. pip安装
pip install nonebot_plugin_animalVoice --upgrade
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_animalVoice')
或在bot路径pyproject.toml的[tool.nonebot]的plugins中添加nonebot_plugin_animalVoice即可
pyproject.toml配置例如:
[tool.nonebot]
plugin_dirs = ["src/plugins"]
plugins = ["nonebot_plugin_animalVoice","xxxxx"]
🎉 使用
指令表
| 指令 | 需要@ | 范围 | 说明 |
|---|---|---|---|
| [兽音加密]/[convert] | 否 | 群聊/私聊 | 发送需要加密的文字 |
| [兽音解密]/[deconvert] | 否 | 群聊/私聊 | 发送需要解密的文字 |
| [切噜一下]/[cherulize] | 否 | 群聊/私聊 | 发送需要解密的文字 |
| [切噜~]/[decherulize] | 否 | 群聊/私聊 | 发送需要解密的文字 |
| [译者帮助] | 否 | 群聊/私聊 | 发送帮助 |
注意 默认情况下, 您应该在指令前加上命令前缀, 通常是 /
🛠 配置项
| 配置项 | 类型 | 说明 |
|---|---|---|
| customize_cmd_animalconvert | str | 自定义触发兽音加密命令 |
| customize_cmd_animaldeconvert | str | 自定义触发兽音解密命令 |
| customize_cmd_cherulizing | str | 自定义触发切噜一下命令 |
| customize_cmd_decherulizing | str | 自定义触发切噜~命令 |
🧡特别感谢
HoshinoBot: https://github.com/Ice-Cirno/HoshinoBot 提供了切噜切噜的算法
Project details
Release history Release notifications | RSS feed
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_animalvoice-0.2.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_animalvoice-0.2.2.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31f6094b7b5e33496d9c18b43fb5554ea24629a2ae9feb121f8248157e3fbe0
|
|
| MD5 |
8c086dbe409bb2435fcdf8cdc1782ba9
|
|
| BLAKE2b-256 |
2b6d34bc5d802596673b04e78a2b743fe089b5ec678f8122d25c8245c475f3b9
|
File details
Details for the file nonebot_plugin_animalvoice-0.2.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_animalvoice-0.2.2-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d65afb22ce02a64f58c5e1aa3b5f9518929f4e9551fb4abda7d645be5c3ee0
|
|
| MD5 |
acf6e87ea755810c2801c16c3616143a
|
|
| BLAKE2b-256 |
c79ccf0cf35262843c51c4b7c66e0bad74bec52277461f06e7e8c04d33cc93aa
|