🛡️ AutoMod
Server rules that work in every app.
Spotted this bot in a server? The admins added it so their rules work for everyone, even people who aren't on Angaara. Here's what it does.
Blocked words
Words the server doesn't allow, including look-alike spellings.
Blocked links
Links to sites the server doesn't allow.
Invite links
Invites to other servers and group chats.
Slowmode
One message every few seconds or minutes in busy channels.
The short version
- It removes messages: it gets moderator power so it can take down messages that break the server's rules.
- Mods can ban through it: if the admins turn on Moderator Commands, mods can type .ban, .unban, .kick or .invite in a channel and the bot does it across the whole server.
- The rules come from the server's mods. The bot just follows them.
- Mods and admins can post freely. If you can remove messages yourself, the bot leaves you alone.
- It can't read encrypted messages. In encrypted channels, only slowmode applies.
- It checks messages as they arrive and forgets them straight after.
If your message is removed
You'll always find out why, with the note the mods wrote for that rule.
| Your app | What happens |
|---|---|
| Angaara | The app checks your message before sending it and holds it back. You see a note that only you can see, and your draft stays in the box so you can fix it. In slowmode, a timer above the message box counts down. |
| Any other Matrix app | The bot removes the message right after it's sent and sends you a DM saying why. You get at most one DM every 5 minutes, however many messages are removed. |
Think it got something wrong? Have a word with the server's mods. They picked the rules, so they can change them.
The rules
Every server picks its own. Whatever's set on a server covers every channel and category inside it too.
| Rule | What it catches |
|---|---|
| Blocked words | Whole words from the server's list, in any capitals and with look-alike spellings, like 0 for o, 1 for i or $ for s. A word ending in * also matches any ending. |
| Blocked links | Links to a listed site or any of its subdomains, with or without https://. |
| Invite links | Invites to other chat servers and group chats, and Matrix room links like matrix.to/#/#room:server. Links to people's profiles are fine. |
| Slowmode | Messages and stickers sent faster than the channel allows. It goes by when each message was really sent, so a slow connection is treated fairly. |
Moderator commands
An admin can turn these on under Server Settings, AutoMod, Moderator Commands. Then anyone who can ban people in a channel can type them there, and the bot carries them out across the whole server.
| Command | What it does |
|---|---|
.ban [user ID] [reason] | Bans them from every channel and category in the server. The reason is optional. |
.unban [user ID] | Lifts their ban everywhere in the server. |
.kick [user ID] [reason] | Removes them from every channel and category. They can come back if they're invited or the server is open. |
.invite [user ID] | Invites them to the server and to the channel where you typed it. |
For example: .ban @spammer:matrix.org posting scam links. Mentioning someone works too. The bot replies in the channel with what it did.
The bot only does what you could already do yourself. It checks your permissions in each channel, and it never acts on anyone ranked at or above you or itself. Commands work in unencrypted channels, since the bot can't read encrypted ones.
How it works
- An admin turns it on in Angaara, under Server Settings, AutoMod, Enforce for Every App. That invites the bot to the server and its channels and gives it moderator power there.
- It only joins where it's invited. Before joining, it checks with the admin's homeserver that they're really signed in, and that they invited it to each room themselves.
- New messages are sent to it by its homeserver as they arrive, like notifications. Each channel's messages are checked one at a time, in order.
- Turning it off makes it leave every channel in the server.
What it stores
| What | Why |
|---|---|
| When you last posted in each slowmode channel, and that message's ID | To know when you can post again. |
| The IDs of recent messages in each channel, briefly | So the same message isn't checked twice. |
| Its DM with you, and when it last messaged you | To reuse one chat, and not message you more than once every 5 minutes. |
That's the whole list. The bot runs on Cloudflare, like the rest of Angaara's servers.
Limits
- Encrypted channels: the bot can't read them, so only slowmode is enforced there. Angaara still checks your own messages before sending.
- Other apps show the message briefly. The bot removes it within moments, but people on other apps may catch a glimpse first.
- It catches what's on the list. Mods still keep an eye on everything else.