✨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
Close
Hashes for nonebot_plugin_animalvoice-0.2.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4052743b622ae528ad3f267ebfb797178ce385dfbd50659157860f17bdc838c0 |
|
MD5 | c2afdf4d358c1551917a0fcba748a257 |
|
BLAKE2b-256 | 01121fc84f2cd7cb7fd8287307bcf18a9d8932dd0ce5a6ad036389c8b6aa1b0b |
Close
Hashes for nonebot_plugin_animalvoice-0.2.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf367d3b980966c241ad989b91b9c4163f3741f449926629f743670bf534ca01 |
|
MD5 | a2051acc0a087fe9fc5ea9a1e42069a0 |
|
BLAKE2b-256 | 67450a88a9eeea57ca07f9d7012dcc847e198d9ad282a09e7fe283776dd3dfab |