diff options
| author | Hubert Hirtz <hubert@hirtz.pm> | 2020-10-19 14:19:23 +0200 |
|---|---|---|
| committer | Hubert Hirtz <hubert@hirtz.pm> | 2020-10-19 14:19:23 +0200 |
| commit | 8fb22a1c588e41ac6b83b403d3eedda5c0f57869 (patch) | |
| tree | fbc4aee795f37607c4935519ac643a73a733c0b2 /irc/events.go | |
| parent | Ensure timestamps from msg.TimeOrNow() are always UTC (diff) | |
Show topic changes
Closes #34
Diffstat (limited to '')
| -rw-r--r-- | irc/events.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/irc/events.go b/irc/events.go index 62622b4..9bb4c79 100644 --- a/irc/events.go +++ b/irc/events.go @@ -51,6 +51,13 @@ type UserQuitEvent struct { Time time.Time } +type TopicChangeEvent struct { + User *Prefix + Channel string + Topic string + Time time.Time +} + type MessageEvent struct { User *Prefix Target string |
