Skip to content

Commit

Permalink
replace reibot framework
Browse files Browse the repository at this point in the history
  • Loading branch information
MoYoez committed Nov 19, 2023
1 parent f6f5c60 commit 6b6334e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lucy | Ver.0.5 (Nightly)

基于 [reiobot-Plugin](https://github.com/FloatTech/reiBot-Plugin) 的 三方 Bot 计划 Lucy
基于 [ReiBot-Plugin](https://github.com/FloatTech/reiBot-Plugin) **的 三方 Bot 计划 Lucy**

> [Lucy's Doc.](https://side-lucy.lemonkoi.one)
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/FloatTech/ReiBot-Plugin

go 1.19
go 1.20

require (
github.com/FloatTech/floatbox v0.0.0-20230207080446-026a2f086c74
Expand Down Expand Up @@ -56,3 +56,5 @@ require (
replace modernc.org/sqlite => github.com/fumiama/sqlite3 v1.20.0-with-win386

replace github.com/remyoudompheng/bigfft => github.com/fumiama/bigfft v0.0.0-20211011143303-6e0bfa3c836b

replace github.com/fumiama/ReiBot => github.com/MoYoez/ReiBot v0.0.0-20231119091021-e2efbe76506e
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b h1:tvciXWq2nuvTbFeJG
github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs=
github.com/FloatTech/zbpctrl v1.5.3-0.20230130095145-714ad318cd52 h1:BrStRXeosWh8L0iA/EjPd8w6xNexDkqki39ITZko/9Q=
github.com/FloatTech/zbpctrl v1.5.3-0.20230130095145-714ad318cd52/go.mod h1:qqMLUwR7tKpqnAqsgI7aZbn0hbs2FEVF4ylMXqIpBdY=
github.com/MoYoez/ReiBot v0.0.0-20231119091021-e2efbe76506e h1:gXLH8/YG2uy9ImYri2w6GbIuQspAj1xAMXzGI7SQydc=
github.com/MoYoez/ReiBot v0.0.0-20231119091021-e2efbe76506e/go.mod h1:+QH0VtJBX7SEHriFNmJldFJCcBqM51Abkt/PaMFw8FI=
github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc=
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e h1:wR3MXQ3VbUlPKOOUwLOYgh/QaJThBTYtsl673O3lqSA=
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e/go.mod h1:vD7Ra3Q9onRtojoY5sMCLQ7JBgjUsrXDnDKyFxqpf9w=
Expand All @@ -27,8 +29,6 @@ github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DP
github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0=
github.com/fogleman/gg v1.3.0 h1:/7zJX8F6AaYQc57WQCyN9cAIz+4bCJGO9B+dyW29am8=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fumiama/ReiBot v0.0.0-20230215122748-dab38cf6b71b h1:I9LGJrcG8zxToaHnHTDcSUHKTrmXCLjui0l7Y+KXobk=
github.com/fumiama/ReiBot v0.0.0-20230215122748-dab38cf6b71b/go.mod h1:+QH0VtJBX7SEHriFNmJldFJCcBqM51Abkt/PaMFw8FI=
github.com/fumiama/bigfft v0.0.0-20211011143303-6e0bfa3c836b h1:Zt3pFQditAdWTHCOVkiloc9ZauBoWrb37guFV4iIRvE=
github.com/fumiama/bigfft v0.0.0-20211011143303-6e0bfa3c836b/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
github.com/fumiama/cron v1.3.0 h1:ZWlwuexF+HQHl3cYytEE5HNwD99q+3vNZF1GrEiXCFo=
Expand Down
2 changes: 1 addition & 1 deletion plugin/chat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (

func init() {
engine.OnMessage(rei.OnlyToMe).SetBlock(false).Handle(func(ctx *rei.Ctx) {
nickname := "Lucy"
nickname := "Lucy" // hardcoded is a good choice ( I will fix it later.(
if ctx.Message.Text != "" {
fmt.Print(ctx.Message.Text)
return
Expand Down

0 comments on commit 6b6334e

Please sign in to comment.