-
Notifications
You must be signed in to change notification settings - Fork 2k
增加绝绝子和藏头诗 #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
增加绝绝子和藏头诗 #93
Conversation
✏️ 升级到 go 1.17
plugin_juejuezi/jiejiezi.go
Outdated
if !limit.Load(ctx.Event.GroupID).Acquire() { | ||
return | ||
} | ||
toDealStr := []rune(strings.Replace(ctx.ExtractPlainText(), "绝绝子", "", -1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strings.ReplaceAll()
plugin_juejuezi/jiejiezi.go
Outdated
engine = control.Register("juejuezi", &control.Options{ | ||
DisableOnDefault: false, | ||
Help: "绝绝子生成器\n" + | ||
"- 喝奶茶绝绝子|吃饭绝绝子", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help与实际正则不符
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
绝绝子放前面后面,怎么不一致了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你的提示里绝绝子不是都在后面
plugin_cangtoushi/cangtoushi.go
Outdated
return | ||
} | ||
|
||
func dealHtml(data string) (text string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
得修一下这个lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint什么意思
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看Files Changed
✏️ 修复 manager 定时器错误
No description provided.