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 details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.2.1.tar.gz
Algorithm Hash digest
SHA256 38ac2f8452f202b94465921cc5ea68b7a80cc832d6a61bfc920a3d035dc00326
MD5 06acecb33b1b555ec22b160ec3a799a7
BLAKE2b-256 e876436b79e82c156c80e2a3f45e8de14672935f6b68f953e54f3920e404b2d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_easy_translate-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2a9947e2c485701da74e52bcd6e10b93b8c6ba1a295b5422df1c2c098ba0077
MD5 0c97ef9ceda10e3be3fb3cc8155d2393
BLAKE2b-256 aa8ca1b5307edb73617f778aac4105fadb09b6b6eef706cd05f4d3b5c73e18a7

See more details on using hashes here.

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