Skip to main content

Nonebot2 谷歌翻译插件

Project description

NoneBotPluginLogo

nonebot_plugin_easy_translate

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

license nonebot2 python

简介

之前的免梯谷歌翻译接口寄了,现在用的是谷歌翻译库,我把代码改成异步然后当插件用了,得用梯子

安装

使用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]

插件命令

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

更新日志

2023/6/24 [v0.2.0]

  • 改用谷歌翻译库,需要梯子了

2023/1/24 [v0.1.4]

  • 修复多bot处理bug

2023/1/16 [v0.1.3]

  • 最低python版本兼容至3.8

2023/1/15 [v0.1.2]

  • 发布插件

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.2.0.tar.gz (14.5 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.2.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 088e86b3b1ae7d9a3885364ca9349ca2e118d615a748ed0b26392a62e5eeaf5f
MD5 1702e2fd679f908aa101a3c561ef6fc5
BLAKE2b-256 766b79a2049e187b73c7a453926071fb9aea040950fc0a4c2f9253629d6f993a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4fbca33457893e8abccb5e8c78694e2e43005587bc9da5acb7722de7ff12e80
MD5 a034a4b88b87542d10dc48048a803784
BLAKE2b-256 8cb0178b09abd44b0acf129e5d4a3786a404a7ca7d04dd0f2f377ce6894d28be

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