move SystemChat event from bot/basic to bot/msg

This commit is contained in:
Tnze
2023-01-01 22:12:03 +08:00
parent 88356fd576
commit e12b2f368d
6 changed files with 42 additions and 30 deletions

View File

@ -3,6 +3,7 @@ package msg
import "github.com/Tnze/go-mc/chat"
type EventsHandler struct {
SystemChat func(msg chat.Message, overlay bool) error
PlayerChatMessage func(msg chat.Message, validated bool) error
DisguisedChat func(msg chat.Message) error
}