mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +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["seconds"] = seconds
|
||||||
fields["target_id"] = targetUserID
|
fields["target_id"] = targetUserID
|
||||||
fields["target_name"] = m.Trailing()
|
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:
|
case hasTargetUserID:
|
||||||
// User w/o Duration = Ban
|
// User w/o Duration = Ban
|
||||||
|
|
|
@ -136,15 +136,15 @@ Fields:
|
||||||
|
|
||||||
## `timeout`
|
## `timeout`
|
||||||
|
|
||||||
Moderator action caused a user to be timeouted from chat.
|
Moderator action caused a user to be timed out from chat.
|
||||||
|
|
||||||
Fields:
|
Fields:
|
||||||
|
|
||||||
- `channel` - The channel the event occurred in
|
- `channel` - The channel the event occurred in
|
||||||
- `duration` - The timeout duration (`time.Duration`, nanoseconds)
|
- `duration` - The timeout duration (`time.Duration`, nanoseconds)
|
||||||
- `seconds` - The timeout duration (`int`, seconds)
|
- `seconds` - The timeout duration (`int`, seconds)
|
||||||
- `target_id` - The ID of the user being timeouted
|
- `target_id` - The ID of the user being timed out
|
||||||
- `target_name` - The login-name of the user being timeouted
|
- `target_name` - The login-name of the user being timed out
|
||||||
|
|
||||||
## `title_update`
|
## `title_update`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue