Anti-Link
Anti-Link filters unwanted links while allowing approved domains and bypass roles.
Plan Required
Normal.
Required Bot Permissions
- Manage Messages if deleting messages
- Send Messages
- Embed Links
- Message Content intent
Setup
/modules enable anti_link
/antilink setup
/antilink allow-domain
/antilink bypass-role
Example Setup
/antilink setup action:delete
/antilink allow-domain domain:grimoirebot.com
Testing
Post an allowed domain and a blocked test domain in a private test channel.
Common Issues
- Links are not detected: enable Message Content intent.
- Trusted links blocked: add allowed domains.
Related Commands
/diagnostics module module:anti_link