Skip to content

Commit

Permalink
fix register (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang-Red committed Oct 2, 2023
1 parent 1c57a64 commit b062198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/nsfw/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 类别时自动发送评价",
Expand Down

0 comments on commit b062198

Please sign in to comment.