🆕 新增指令插件,新增雷神加速器操作指令
This commit is contained in:
@@ -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 {
|
||||
// 群内@或者私聊文字消息
|
||||
|
||||
Reference in New Issue
Block a user