Highlights
Application wide highlights.
match
Highlight based on matches
# Highlight on 'boat' and 'car' in any channel.
[[highlights.match]]
words = ["boat", "car"]
case_insensitive = true
sound = "bonk"
# Highlight when regex matches in any channel except #noisy-channel.
[[highlights.match]]
regex = '''(?i)\bcasper\b'''
exclude = ["#noisy-channel"]words
You can set words to be highlighted when they are written.
Example shows word matches, which will trigger on "word1", "word2" or "word3" in any channel.
# Type: array of strings
# Values: array of any strings
# Default: []
[[highlights.match]]
words = ["word1", "word2", "word3"]case_insensitive
This option is only available when using words as the match type. You can choose whether or not to trigger regardless of case.
# Type: boolean
# Values: true, false
# Default: false
[[highlights.match]]
words = ["word1", "word2", "word3"]
case_insensitive = trueregex
Match based on regex.
💡 Tip
Use toml multi-line literal strings '''\bfoo'd\b''' when writing a regex. This allows you to write write the regex without escaping. You can also use a literal string '\bfoo\b', but then you can't use ' inside the string. Without literal strings, you'd have to write the above as "\\bfoo'd\\b"
Example shows a regex that matches the word "casper", regardless of case and only when it appears as a whole word in any channel.
# Type: string
# Values: any string
# Default: not set
[[highlights.match]]
regex = '''(?i)\bcasper\b'''exclude
Exclusion conditions in which you won't be highlighted. Inclusion conditions will take precedence over exclusion conditions. You can also exclude all conditions by setting to "all" or "*".
Example shows a regex match which will be excluded in #noisy-channel.
# Type: inclusion/exclusion conditions
# Values: user, channel, & server inclusion/exclusion conditions
# Default: not set
[[highlights.match]]
regex = '''(?i)\bcasper\b'''
exclude = { channels = ["#noisy-channel"] }include
Inclusion conditions in which you will be highlighted. Highlights are enabled in all conditions unless explicitly excluded, so this setting is only relevant when combined with the exclude setting.
Example shows a words match which will only highlight in #halloy.
# Type: inclusion/exclusion conditions
# Values: user, channel, & server inclusion/exclusion conditions
# Default: not set
[[highlights.match]]
words = ["word1", "word2", "word3"]
exclude = "*"
include = { channels = ["#halloy"] }sound
Sound to play when notifying for a highlight. If not specified then the sound specified for highlight notifications will be used. Supports both built-in sounds, and external sound files (mp3, ogg, flac or wav placed inside the sounds folder within the configuration directory). See notifications for a list of all built-in sounds.
# Type: string
# Values: see above for built-in sounds, eg: "sing" or external sound.
# Default: not set
[[highlights.match]]
words = ["word1", "word2", "word3"]
sound = "sing"nickname
Nickname highlights
# Enable nickname highlights only in channel #halloy.
[highlights.nickname]
exclude = ["*"]
include = ["#halloy"]exclude
Channels in which you won’t be highlighted. If you pass ["#halloy"], you won’t be highlighted in that channel. You can also exclude all channels by using a wildcard: ["*"].
# Type: array of strings
# Values: array of any strings
# Default: []
[highlights.nickname]
exclude = ["*"]include
Channels in which you will be highlighted, only useful when combined with exclude = ["*"]. If you pass ["#halloy"], you will only be highlighted in that channel.
# Type: array of strings
# Values: array of any strings
# Default: ["*"]
[highlights.nickname]
exclude = ["*"]
include = ["#halloy"]case_insensitive
Whether or not to trigger regardless nickname highlight regardless of case. Uses the casemapping specified by server.
# Type: boolean
# Values: true, false
# Default: true
[highlights.nickname]
case_insensitive = false