Archived
1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
多羅狼
4ac98d9fd3
sort&rename i18n files 2023-05-21 11:48:33 +08:00
多羅狼
808367ae24
Update hitokoto 2023-05-05 09:44:05 +08:00
多羅狼
0b76b4a804
Update __init__.py 2023-05-04 21:02:02 +08:00
多羅狼
f642cfdbab
Update hitokoto 2023-05-04 20:58:21 +08:00
多羅狼
452e968308
refactor hitokoto module 2023-05-04 19:57:13 +08:00
多羅狼
c6b8cb66f4
modify hitokoto & remove yatb 2023-05-04 19:09:16 +08:00
SilianZ
a6f054a01d
[New]: 增添新模块【Hitokoto】和【You are the best】 (#548)
* 增添模块【Hitokoto】

此模块用于接入[一言API](https://hitokoto.cn/)

* 增添新模块【You are the best】

该模块接入了LittleC的牛逼API,可以向指定人发送一个彩虹屁(

* 删除get.py

由于i18n部分代码限制,把该模块的代码迁移到__init.py__中

* 更新代码

1. 增加了对i18n的支持
2. 使用了Akari-bot自带的get_url函数来获取文本,减少了代码量
3. 修改了部分变量及函数名

* 更新代码

修复了部分未进行i18n的代码

* 更新语言文件

为i18n部分代码提供语言文件支持

* 更新代码

根据Issue内的提示更改了部分语言文件的内容和部分代码
2023-05-04 19:00:54 +08:00