diff options
| author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-16 16:04:19 +0200 |
|---|---|---|
| committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-16 16:04:19 +0200 |
| commit | 1b15bf87e804692ca07bb5b7766d1fb80b024769 (patch) | |
| tree | 3386cada20a2cd6ac81bd420ee29bac521d6474c /irc/events.go | |
| parent | irc: Simplify debug logging of incoming messages (diff) | |
irc: Use typing constants
Diffstat (limited to 'irc/events.go')
| -rw-r--r-- | irc/events.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/irc/events.go b/irc/events.go index 194bc1c..32eb457 100644 --- a/irc/events.go +++ b/irc/events.go @@ -60,16 +60,16 @@ type ChannelMessageEvent struct { Time time.Time } -type QueryTypingEvent struct { - Nick string - State int - Time time.Time +type QueryTagEvent struct { + Nick string + Typing int + Time time.Time } -type ChannelTypingEvent struct { +type ChannelTagEvent struct { Nick string Channel string - State int + Typing int Time time.Time } |
