catbase/bot/msg/message.go

25 lines
444 B
Go
Raw Normal View History

// © 2013 the CatBase Authors under the WTFPL. See AUTHORS for the list of authors.
package msg
import (
"time"
"github.com/velour/catbase/bot/user"
)
type Log Messages
type Messages []Message
type Message struct {
2018-05-02 11:02:04 +00:00
User *user.User
Channel, Body string
IsIM bool
2018-05-02 11:02:04 +00:00
Raw string
Command bool
Action bool
Time time.Time
Host string
AdditionalData map[string]string
}