Skip to main content

Nonebot2 免api key简单翻译插件

Project description

NoneBotPluginLogo

nonebot_plugin_easy_translate

✨ Nonebot2 简单易用谷歌翻译插件,免key! ✨

license nonebot2 python

简介

使用了sena-nana大佬给的接口,他的仓库 sena-nana/nonebot-plugin-novelai,不需要使用梯子和api key就能使用的翻译插件

安装

使用nb-cli安装

nb plugin install nonebot_plugin_easy_translate

或者
直接把插件clone下来放进去plugins文件夹

可选配置

在bot对应的.env文件修改

# 机器人的QQ号列表,如果有多个bot连接,会按照填写的list,左边的机器人QQ优先级最高 1234 > 5678 > 6666,会自动切换
# 如果不填该配置则由第一个连上的bot响应
easy_translate_bot_qqnum_list = ['1234','5678','6666']

插件命令

指令 说明
翻译 你发一下就知道啦

定制

自己看代码改啦!

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_easy_translate-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_easy_translate-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_easy_translate-0.1.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2179f8027c800348f8bfb5e642651b1966acf862867e0d70f75cb14156f47076
MD5 d38150a7bf92b68e1fab68fa090b2211
BLAKE2b-256 0fb1ec47d4ccb1595800fabf5ecdfc772a9402ad9d89b553df5865113780480c

See more details on using hashes here.

File details

Details for the file nonebot_plugin_easy_translate-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4f8e110bd8bde82abb760344629e53d9fffe6b1eaf318f72d4f224404639de
MD5 1640f4972a9a6ba23c87977ff8196e4f
BLAKE2b-256 919b115c7f504cf2cab2251db95003f8471c5efff31aa88d4790dc0a364b436f

See more details on using hashes here.

Supported by

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