Skip to main content

✨Nonebot兽语译者插件✨

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot_plugin_animalVoice

✨Nonebot兽语译者插件✨

license pypi python Code style: black

✔ 使用例

3`$HP~HVN%SK(IV@2HO7X{M

OYJ5N2~Z@XZ)B6FL %MEIKA

💿 安装

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_animalvoice-0.2.2.tar.gz (18.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page