Repository navigation
Inclusion Exclusion Conditions
Inclusion/exclusion conditions can be specified by arrays of users, channels, servers, server message types, and/or combined criteria. A combined criterion can each include a user, channel, server, and/or server message type, but will only be matched if all are matched. The conditions are met if any individual condition is matched.
Inclusion conditions will take precedence over exclusion conditions.
You can specify all conditions by setting to "all" or "*".
| Condition Type | Description |
|---|---|
users |
An array of nicknames. Conditions will apply to messages sent by or queries with a user with one of the specified nicknames. |
channels |
An array of channel names. Conditions will apply to messages in any of the specified channels. |
servers |
An array of server names. Conditions will apply to all messages on any of the specified servers. |
server_messages |
An array of server message types. Conditions will apply to server messages of any of the specified types. |
criteria |
Each criterion in the array can have a specified user, users, channel, channels, server, and/or server_message. All specified fields must match for the criterion to match. |
This example excludes all messages in #woggle except for messages from
GH-Bot.
include = { users = ["GH-Bot"] }
exclude = { channels = ["#woggle"] }This example excludes messages from GH-Bot and ChanServ in #woggle.
exclude = { criteria = [{ channel = "#woggle", user = "GH-Bot" }, { channel = "#woggle", user = "ChanServ" }] }Using a regular TOML table can help with legibility, as in this example
excluding notifications for highlights by GH-Bot and ChanServ in #woggle.
[notifications.highlight.exclude]
criteria = [{ channel = "#woggle", user = "GH-Bot" },
{ channel = "#woggle", user = "ChanServ" }]This example mutes unread indicators in a noisy channel while still showing highlight indicators when you are mentioned. See sidebar unread indicators.
[sidebar.unread_indicator]
exclude = { channels = ["#noisy-channel"] }To hide highlight indicators as well, set the same conditions on highlight_exclude:
[sidebar.unread_indicator]
exclude = { channels = ["#noisy-channel"] }
highlight_exclude = { channels = ["#noisy-channel"] }This example excludes messages in #woggle on the libera server only.
exclude = { criteria = [{ channel = "#woggle", server = "libera" }] }This example excludes messages in all servers except libera.
include = { servers = ["libera"] }
exclude = "all"Woggle: moderation IRC client for ScoutLink chanops, based on Halloy · Not an official ScoutLink product (logo usage) · Found a mistake? Open an issue or edit the page.
English · Norsk · Dansk · Svenska
Woggle
Getting started
Configuration
- Inclusion/Exclusion Conditions
- Actions
- Buffer
- Channel Monitor
- Check for Update on Launch
- Commands
- Config Editor
- Context Menu
- CTCP
- Display
- File Transfer
- File Upload
- Font
- Highlights
- Keyboard
- Logs
- Metadata
- Notifications
- Pane
- Platform Specific
- Preview
- Proxy
- Runtime
- Scale factor
- Servers
- Sidebar
- Themes
- Tooltips
- Window
Guides
- Building for Flatpak
- Building for macOS
- Connect with soju
- Connect with ZNC
- TLS Troubleshooting
- Command Line
- Custom Themes
- Exec Command
- Example Server Configurations
- Monitor Users
- Multiple Servers
- Optional Features
- Portable Mode
- Pronunciation
- Reduce Noise
- Single Pane
- Storing Passwords in a File
- Storing Passwords in the System Keyring
- File Uploads
- Internal Buffers
- Unix Signals
- Text Formatting
- URL Schemes
- Flatpak Tips