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/8/28 [v0.2.1]

  • 修复导入错误

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.1.tar.gz (14.6 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