mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
add reset
This commit is contained in:
@@ -199,4 +199,7 @@ func init() { // 插件主体
|
||||
})
|
||||
ctx.SendChain(message.Text("设置成功"))
|
||||
})
|
||||
ent.OnFullMatch("重置ChatGPT连接").SetBlock(true).Handle(func(ctx *zero.Ctx) {
|
||||
chats.Reset(ctx.Event.UserID)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user