Link Filter
Block or allow specific URLs with blacklist or whitelist mode in Nevi's link filter.
Blacklist & whitelist modes
The link filter operates in one of two modes:
Blacklist mode
Only URLs matching domains on your list are blocked. Everything else is allowed.
Whitelist mode
Only URLs matching domains on your list are allowed. Everything else is blocked.
Hostnames are normalized before matching: www. is stripped and everything is lowercased. So WWW.Example.COM matches example.com.
Managing links
Use the /automod links subcommand to manage the link list and switch modes.
| Command | Description |
|---|---|
/automod links mode <blacklist|whitelist> | Switch between blacklist and whitelist mode |
/automod links add <url> | Add a domain to the list |
/automod links remove <url> | Remove a domain from the list |
/automod links list | View all domains on the list |
Examples
Blacklist: block Discord invites
/automod links mode blacklist/automod links add discord.ggMessages containing discord.gg links will trigger the link filter. All other URLs are allowed.
Whitelist: only allow YouTube and Spotify
/automod links mode whitelist/automod links add youtube.com/automod links add spotify.comOnly YouTube and Spotify links are allowed. Any other URL triggers the filter.
Related Commands
/automodmanagementRequires modConfigure the automod system