2020-12-21 00:32:39 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
func ptrStr(s string) *string { return &s }
|
|
|
|
|
|
|
|
var (
|
2021-11-10 22:23:57 +00:00
|
|
|
eventTypeBan = ptrStr("ban")
|
2021-10-17 11:17:28 +00:00
|
|
|
eventTypeBits = ptrStr("bits")
|
2021-11-10 22:23:57 +00:00
|
|
|
eventTypeClearChat = ptrStr("clearchat")
|
2021-10-16 12:06:25 +00:00
|
|
|
eventTypeJoin = ptrStr("join")
|
|
|
|
eventTypeHost = ptrStr("host")
|
|
|
|
eventTypePart = ptrStr("part")
|
|
|
|
eventTypePermit = ptrStr("permit")
|
|
|
|
eventTypeRaid = ptrStr("raid")
|
|
|
|
eventTypeResub = ptrStr("resub")
|
|
|
|
eventTypeSub = ptrStr("sub")
|
|
|
|
eventTypeSubgift = ptrStr("subgift")
|
|
|
|
eventTypeSubmysterygift = ptrStr("submysterygift")
|
2021-11-10 22:23:57 +00:00
|
|
|
eventTypeTimeout = ptrStr("timeout")
|
2021-10-16 12:06:25 +00:00
|
|
|
eventTypeWhisper = ptrStr("whisper")
|
2021-09-02 15:09:30 +00:00
|
|
|
|
|
|
|
eventTypeTwitchCategoryUpdate = ptrStr("category_update")
|
|
|
|
eventTypeTwitchStreamOffline = ptrStr("stream_offline")
|
|
|
|
eventTypeTwitchStreamOnline = ptrStr("stream_online")
|
|
|
|
eventTypeTwitchTitleUpdate = ptrStr("title_update")
|
2021-09-22 13:36:45 +00:00
|
|
|
|
|
|
|
knownEvents = []*string{
|
2021-11-10 22:23:57 +00:00
|
|
|
eventTypeBan,
|
|
|
|
eventTypeBits,
|
|
|
|
eventTypeClearChat,
|
2021-09-22 13:36:45 +00:00
|
|
|
eventTypeJoin,
|
|
|
|
eventTypeHost,
|
|
|
|
eventTypePart,
|
|
|
|
eventTypePermit,
|
|
|
|
eventTypeRaid,
|
|
|
|
eventTypeResub,
|
|
|
|
eventTypeSub,
|
|
|
|
eventTypeSubgift,
|
2021-10-16 12:06:25 +00:00
|
|
|
eventTypeSubmysterygift,
|
2021-11-10 22:23:57 +00:00
|
|
|
eventTypeTimeout,
|
2021-09-22 13:36:45 +00:00
|
|
|
eventTypeWhisper,
|
|
|
|
|
|
|
|
eventTypeTwitchCategoryUpdate,
|
|
|
|
eventTypeTwitchStreamOffline,
|
|
|
|
eventTypeTwitchStreamOnline,
|
|
|
|
eventTypeTwitchTitleUpdate,
|
|
|
|
}
|
2020-12-21 00:32:39 +00:00
|
|
|
)
|