✨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.2rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bed4edc3f41a2e357dc96014003548edbdd1b070642497305c620aae8a853ed |
|
MD5 | bf699190014c34bc95ba49c2e3aa28ab |
|
BLAKE2b-256 | 87eed911883f8a229f88995029129c25324065b83233e8ef5674e3764a785a54 |
Close
Hashes for nonebot_plugin_animalvoice-0.2.2rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50980737800561d806f0e7c80660d7dd9a10cb637e4b9922af5b3e56da89d5f0 |
|
MD5 | 90e4421be0bd56dce4145fad7d399eca |
|
BLAKE2b-256 | 7aaa3820d7cdbf578b3ed69da1f57f49cbb51710d6528c83a819b9e2937ee66e |