🆕 新增指令插件,新增雷神加速器操作指令

This commit is contained in:
李寻欢
2023-12-20 15:42:50 +08:00
parent c40dbead3e
commit 5a1ede0646
8 changed files with 541 additions and 0 deletions

View File

@@ -22,6 +22,12 @@ func Plugin() {
return true
}, plugins.SaveToDb)
// 私聊指令消息
dispatcher.RegisterHandler(func(m *model.Message) bool {
// 私聊消息直接进去
return m.IsPrivateText()
}, plugins.Command)
// AI消息插件
dispatcher.RegisterHandler(func(m *model.Message) bool {
// 群内@或者私聊文字消息