Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* https://github.com/FloatTech/ZeroBot-Plugin:
  chore: update deps
  chore: update deps
  chore: update deps
  chore: update deps
  feat: add option `-mirror`
  💩👌 make lint happy
  fix: reply face
  fix: reply face
  fix(manager): 撤回
  fix(bilibili): parse config
  add control for saucenao & bilibili_parse (FloatTech#839)
  ✨ 修复b站小程序解析 (FloatTech#895)
  fix(manager): 回应表情
  fix: imgpool on LLOB
  fix: update img pool
  optimize: 赞我 触发失败时静默
  chore: update deps
  optimize: README uwu icon
  feat: add uwu logo
  fix(emojimix): add more logs
  fix(drawlots): draw gif noise
  💩👌 make lint happy
  fix(emojimix): connection issue in some regions
  fix(drawlots): draw gif noise
  chore: del vtbxxx due to 跑路
  chore: tidy
  optimize: saucenao head
  chore: del imgfinder due to 跑路
  fix(github): get api method
  revert: fix(searcher): forward node
  💩👌 make lint happy
  fix(searcher): forward node
  chore: update deps
  fix: version limit
  fix: version limit
  fix: version limit
  fix: atri 早安 conflict with sleep_manage & add 回应表情
  chore: del wenben due to 跑路
  chore: del wangyiyun due to 跑路
  chore: del quan due to 跑路
  chore: del jiuejuezi due to 跑路
  chore: del jiami due to 跑路
  chore: del heisi due to 跑路
  chore: del dress due to 删库
  chore: del cangtoushi due to 使えない
  chore: del baidu due to 使えない
  chore: del aipaint due to 过气
  🔖 v1.7.8
  • Loading branch information
YumeMichi committed May 4, 2024
2 parents 4563aa9 + 995f37c commit 8640b22
Show file tree
Hide file tree
Showing 41 changed files with 319 additions and 2,817 deletions.
148 changes: 4 additions & 144 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div align="center">
<img src=".github/hua_nobg_512.gif" alt="" width = "400">
<img src=".github/hua_nobg_512.gif" alt="" width = "256">
<img src="https://github.com/FloatTech/ZeroBot-Plugin/assets/41315874/93fb795d-e519-45a6-a654-076fd6ac54ae" alt="zbp-uwu" width = "400">
<br>

<h1>ZeroBot-Plugin</h1>
Expand Down Expand Up @@ -50,7 +51,7 @@
## 命令行参数
> `[]`代表是可选参数
```bash
zerobot [-h] [-m] [-n nickname] [-t token] [-u url] [-g url] [-p prefix] [-d|w] [-c|s config.json] [-l latency] [-r ringlen] [-x max process time] [qq1 qq2 qq3 ...] [&]
zerobot [-h] [-m] [-n nickname] [-t token] [-u url] [-g url] [-p prefix] [-d|w] [-c|s config.json] [-l latency] [-r ringlen] [-x max process time] [-mirror] [qq1 qq2 qq3 ...] [&]
```
- **-h**: 显示帮助
- **-m**: 不自动标记消息为已读
Expand All @@ -65,6 +66,7 @@ zerobot [-h] [-m] [-n nickname] [-t token] [-u url] [-g url] [-p prefix] [-d|w]
- **-l latency**: 全局处理延时 (ms)
- **-r ringlen**: 接收消息环缓冲区大小,`0`为不设缓冲,并发处理
- **-x max process time**: 最大处理时间 (min)
- **-mirror**: 直接使用镜像懒加载数据站而不尝试访问源站
- **qqs**: superusers 的 qq 号
- **&**: 驻留在后台,必须放在最后,仅`Linux`下有效

Expand Down Expand Up @@ -373,30 +375,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 设置默认限速为每 m [分钟 | 秒] n 次触发

</details>
<details>
<summary>ai绘图</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/aipaint"`

- [x] [ ai绘图 | 生成色图 | 生成涩图 | ai画图 ] xxx

- [x] [ ai高级绘图 | 高级生成色图 | 高级生成涩图 | ai高级画图 ] xxx

- [x] [ 以图绘图 | 以图生图 | 以图画图 ] xxx [图片]|@xxx|[qq号]

- [x] 设置ai绘图配置 [server] [token]

- [x] 设置ai绘图撤回时间90s

- [x] 查看ai绘图配置

例: 设置ai绘图配置 http://91.216.169.75:5010 abc

参考服务器 http://91.217.139.190:5010, http://91.216.169.75:5010, http://185.80.202.180:5010

通过 http://91.217.139.190:5010/token 获取token

</details>
<details>
<summary>AIWife</summary>
Expand Down Expand Up @@ -435,14 +413,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 用yyy解密xxx

</details>
<details>
<summary>百科</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/baidu"`

- [x] 百度/百科/维基/wiki[xxx]

</details>
<details>
<summary>百度内容审核</summary>
Expand Down Expand Up @@ -572,16 +542,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 随机书评

</details>
<details>
<summary>藏头诗</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/cangtoushi"`

- [x] 藏头诗[xxx]

- [x] 藏尾诗[xxx]

</details>
<details>
<summary>选择困难症帮手</summary>
Expand Down Expand Up @@ -680,20 +640,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 删签[gif签名]

</details>
<details>
<summary>女装</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/dress"`

- [x] 女装

- [x] 男装

- [x] 随机女装

- [x] 随机男装

</details>
<details>
<summary>漂流瓶</summary>
Expand Down Expand Up @@ -817,14 +763,6 @@ print("run[CQ:image,file="+j["img"]+"]")
- [x] 下载歌单[网易云歌单链接/ID][歌单名称]
- [x] 解除绑定 [歌单名称]

</details>
<details>
<summary>黑丝</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/heisi"`

- [x] 来点黑丝/白丝/jk/巨乳/足控/网红

</details>
<details>
<summary>一言</summary>
Expand Down Expand Up @@ -857,14 +795,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 百人一首之n

</details>
<details>
<summary>关键字搜图</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/image_finder"`

- [x] 来张 [xxx]

</details>
<details>
<summary>注入指令</summary>
Expand All @@ -883,24 +813,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 更新[屌|弔|吊]

</details>
<details>
<summary>兽语加密(嗷呜~)</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/jiami"`

- [x] 兽语加密xxx

- [x] 兽语解密xxx

</details>
<details>
<summary>小鸡词典</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/jikipedia"`

- [x] [查梗|小鸡词典][]

</details>
<details>
<summary>日语听力学习材料</summary>
Expand All @@ -915,14 +827,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 日语歌曲 xxx

</details>
<details>
<summary>绝绝子</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/juejuezi"`

- [x] 喝奶茶绝绝子 | 绝绝子吃饭

</details>
<details>
<summary>疯狂星期四</summary>
Expand Down Expand Up @@ -1196,18 +1100,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 重置花名册

</details>
<details>
<summary>权重查询</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/quan"`

- 来看看大家的账号分吧~据说越高越不容易封号哦

- [x] 权重查询+@xxx

- [x] 权重查询+QQ号(为空时匹配触发者QQ)

</details>
<details>
<summary>qq空间表白墙</summary>
Expand Down Expand Up @@ -1382,16 +1274,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 更新vtb

</details>
<details>
<summary>vtb点歌</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/vtbmusic"`

- [x] vtb点歌

- [x] vtb随机点歌

</details>
<details>
<summary>钱包</summary>
Expand All @@ -1402,14 +1284,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 查看钱包排名

</details>
<details>
<summary>网易云音乐热评</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/wangyiyun"`

- [x] 来份网易云热评

</details>
<details>
<summary>据意查句</summary>
Expand Down Expand Up @@ -1437,20 +1311,6 @@ print("run[CQ:image,file="+j["img"]+"]")
- [x] 警报

- [x] 每日特惠
</details>
<details>
<summary>天气/拼音查询-名言</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/wenben"`

- [x] xx天气

- [x] xx拼音

- [x] 每日情话/一言/鸡汤

- [x] 绕口令

</details>
<details>
<summary>百度文心AI</summary>
Expand Down
32 changes: 11 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ go 1.20

require (
github.com/Baidu-AIP/golang-sdk v1.1.1
github.com/FloatTech/AnimeAPI v1.7.1-0.20240423052513-58ad4b85322a
github.com/FloatTech/floatbox v0.0.0-20240304064110-78a83f1af9a6
github.com/FloatTech/AnimeAPI v1.7.1-0.20240504155718-e1a4844e94a5
github.com/FloatTech/floatbox v0.0.0-20240504180219-62f0fa53644e
github.com/FloatTech/gg v1.1.3-0.20230226151425-6ea91286ba08
github.com/FloatTech/imgfactory v0.2.2-0.20230413152719-e101cc3606ef
github.com/FloatTech/rendercard v0.0.10-0.20230223064326-45d29fa4ede9
github.com/FloatTech/sqlite v1.6.3
github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b
github.com/FloatTech/zbpctrl v1.6.0
github.com/FloatTech/zbputils v1.7.1-0.20231107124514-083e678fbfe6
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e
github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1
github.com/FloatTech/zbpctrl v1.6.1
github.com/FloatTech/zbputils v1.7.1-0.20240504190435-b7df3713001f
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7
github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5
github.com/antchfx/htmlquery v1.2.5
github.com/corona10/goimagehash v1.1.0
Expand All @@ -25,6 +25,7 @@ require (
github.com/fumiama/go-registry v0.2.6
github.com/fumiama/gotracemoe v0.0.3
github.com/fumiama/jieba v0.0.0-20221203025406-36c17a10b565
github.com/fumiama/terasu v0.0.0-20240502091919-c887e26289a8
github.com/fumiama/unibase2n v0.0.0-20221020155353-02876e777430
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/jinzhu/gorm v1.9.16
Expand All @@ -35,16 +36,15 @@ require (
github.com/mroth/weightedrand v1.0.0
github.com/notnil/chess v1.9.0
github.com/pkg/errors v0.9.1
github.com/quic-go/quic-go v0.38.1
github.com/shirou/gopsutil/v3 v3.23.1
github.com/sirupsen/logrus v1.9.3
github.com/tidwall/gjson v1.14.4
github.com/wcharczuk/go-chart/v2 v2.1.0
github.com/wdvxdr1123/ZeroBot v1.7.5-0.20240410141841-6970df23ca54
github.com/wdvxdr1123/ZeroBot v1.7.5-0.20240504170749-c9c0e1fe4915
gitlab.com/gomidi/midi/v2 v2.0.25
golang.org/x/image v0.3.0
golang.org/x/sys v0.8.0
golang.org/x/text v0.9.0
golang.org/x/sys v0.19.0
golang.org/x/text v0.14.0
gopkg.in/yaml.v3 v3.0.1
)

Expand All @@ -59,10 +59,7 @@ require (
github.com/fumiama/imgsz v0.0.2 // indirect
github.com/gabriel-vasile/mimetype v1.0.4 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hajimehoshi/oto v0.7.1 // indirect
github.com/jfreymuth/oggvorbis v1.0.1 // indirect
Expand All @@ -74,26 +71,19 @@ require (
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
github.com/onsi/ginkgo/v2 v2.9.5 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pkumza/numcn v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/quic-go/qtls-go1-20 v0.3.3 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
github.com/tetratelabs/wazero v1.5.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/tklauser/numcpus v0.6.0 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
golang.org/x/crypto v0.4.0 // indirect
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
golang.org/x/exp/shiny v0.0.0-20221126150942-6ab00d035af9 // indirect
golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/tools v0.9.1 // indirect
golang.org/x/net v0.24.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
modernc.org/libc v1.21.5 // indirect
modernc.org/mathutil v1.5.0 // indirect
Expand Down
Loading

0 comments on commit 8640b22

Please sign in to comment.