mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
fix register (#778)
This commit is contained in:
parent
1c57a64002
commit
b062198fae
@ -33,7 +33,7 @@ func init() {
|
||||
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, message.Text(judge(p))))
|
||||
}
|
||||
})
|
||||
control.AutoRegister(&ctrl.Options[*zero.Ctx]{
|
||||
control.Register("nsfwauto", &ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: true,
|
||||
Brief: "nsfw图片自动识别",
|
||||
Help: "- 当图片属于非 neutral 类别时自动发送评价",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user