mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[core] Fix wording for timeouts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a1741fbf53
commit
8107cd7c64
2 changed files with 4 additions and 4 deletions
2
irc.go
2
irc.go
|
@ -211,7 +211,7 @@ func (i ircHandler) handleClearChat(m *irc.Message) {
|
|||
fields["seconds"] = seconds
|
||||
fields["target_id"] = targetUserID
|
||||
fields["target_name"] = m.Trailing()
|
||||
log.WithFields(log.Fields(fields)).Info("User was timeouted")
|
||||
log.WithFields(log.Fields(fields)).Info("User was timed out")
|
||||
|
||||
case hasTargetUserID:
|
||||
// User w/o Duration = Ban
|
||||
|
|
|
@ -136,15 +136,15 @@ Fields:
|
|||
|
||||
## `timeout`
|
||||
|
||||
Moderator action caused a user to be timeouted from chat.
|
||||
Moderator action caused a user to be timed out from chat.
|
||||
|
||||
Fields:
|
||||
|
||||
- `channel` - The channel the event occurred in
|
||||
- `duration` - The timeout duration (`time.Duration`, nanoseconds)
|
||||
- `seconds` - The timeout duration (`int`, seconds)
|
||||
- `target_id` - The ID of the user being timeouted
|
||||
- `target_name` - The login-name of the user being timeouted
|
||||
- `target_id` - The ID of the user being timed out
|
||||
- `target_name` - The login-name of the user being timed out
|
||||
|
||||
## `title_update`
|
||||
|
||||
|
|
Loading…
Reference in a new issue