Black Branch/Docs
All sections

Bans, timeouts and deletions

This page is for mods. After reading it you will know what each moderation action does on your site, on each connected platform and in your community rooms, how to undo one, and how slow mode works.

An action is applied on your site first, at once. Then it is sent to the platforms in the background. A platform that refuses never stops or slows the site action, and every answer is recorded so you can check it.

The actions

Action On your site Who can be targeted
Delete One message disappears from site chat for everyone. Mods can still see it struck out if they choose Anyone except another mod or the admin (your own lines are fine)
Timeout The person cannot send in site chat until it runs out. Their chat box shows "Timed out" with the time left Anyone except another mod or the admin
Ban The same, with no end. Their chat box shows "You are banned from chat." Anyone except another mod or the admin
Unban Lifts a ban or a timeout. /untimeout and /unban do the same thing Anyone except another mod or the admin
Purge Removes all of one person's messages from a recent window, up to the last 24 hours Anyone except another mod or the admin

A timeout is a ban with an end time, and the site stores them the same way. Only the admin can act on a mod or on the admin (see the mod ceiling). A banned or timed-out mod loses the mod tools while it runs, and a permanent ban removes their mod role (see A mod who is banned or timed out).

A ban stays on the account if the person deletes it, and on the platform accounts linked to it.

Where to do them

Place Timeout Permanent ban Undo
A message's โ‹ฏ menu โฑ Time out with your last-used length ๐Ÿ”จ Ban, at once, no confirm Yes, 6 seconds
The person's card โฑ with a minutes box (10 by default, remembered on that device) ๐Ÿ”จ Ban permanently, which asks you to confirm Yes, 6 seconds
The mod panel's Bans Opens on a 10-minute timeout. The button names the action ("Time out 10m") Choose Permanent ban. The button asks you to confirm No
The mod commands /timeout, 10 minutes if no length /ban No

After a ban, timeout or unban from a menu, a card or the Bans form, a status line tells you what each platform answered, for example "Twitch โœ“ ยท Kick โœ— (missing scope)". A failed one has Retry (see Why "sent", not "done"). The commands show only their own notice, with no Undo and no status line. Mod history has the platform answers for them too.

Banning a name that is not a site account is refused with "That isn't an account on this site". For someone who only chats from Twitch or Kick, act from their message or card (see One person, several accounts).

What a ban covers on the site

A site ban stops the person sending in site chat. It also stops that person's linked platform accounts from appearing in site chat while it lasts. A platform-only chatter you ban has their lines held back for 15 minutes, until the platform's own ban takes over.

It also reaches your community rooms and direct messages:

These are outside what a site ban reaches. For them, ban from the person's member card in the community (below):

The word filter and the link gate check site chat and platform chat. Community rooms and direct messages are moderated in the community itself. To remove someone from the community at once, ban them from their member card there (see In community rooms). That one ban covers the rooms, the site and the platforms together.

How an action reaches each platform

After the site applies an action, it sends the same action to each platform that has moderation tools, on your own channel only:

Platform Delete Timeout Ban and unban Purge Slow mode
Twitch โœ“ โœ“, at most 2 weeks there โœ“ โœ“ (a 1-second timeout, which clears their messages on Twitch) โœ“, 3 to 120 seconds there
Kick โœ“ โœ“, at most 7 days there โœ“ โœ“, up to 50 messages Not sent
YouTube Not on a standard install Not on a standard install Not on a standard install Not on a standard install Not sent
Streamplace No No No No No
Community rooms No As a room ban, through the sync above From a member card, and through the sync above No No

A timeout longer than a platform allows is shortened there, and the log says so ("clamped_to_7d" on Kick).

YouTube. Banning and deleting on YouTube, while you are live, uses a Google sign-in with the full YouTube scope. That sign-in is part of the YouTube work still being built; today the site reads YouTube with no Google sign-in at all (see YouTube). Until then, YouTube actions are recorded as skipped, and you ban on YouTube itself. Removals that YouTube's own moderators make reach the site as usual.

Streamplace has no moderation tools for other programs to use, so its row in the log always says it is not supported.

What each platform needs

For an action to reach Twitch or Kick, three things must be true:

  1. The platform is fully connected. Your channel's numeric id is saved (the Twitch broadcaster id, or the Kick user id). Without it the site refuses to act there rather than guess the channel. See Twitch and Kick.
  2. The site knows the person's account on that platform. They chatted there, or linked it.
  3. Someone's link can act. That means the mod's own link with the moderation scopes, or else yours (the admin's).
Platform Scope Used for
Twitch moderator:manage:banned_users Ban, timeout, unban, purge
Twitch moderator:manage:chat_messages Delete
Twitch moderator:manage:chat_settings Slow mode
Twitch moderator:manage:automod Allowing or denying Twitch AutoMod's held messages (always done as the streamer)
Kick moderation:ban Ban, timeout, unban
Kick moderation:chat_message:manage Delete, purge

How the site picks whose link to use, and why a mod should also be a mod on your Twitch and Kick channels, is on Roles and permissions.

The Reach row on a person's card shows the answer before you act: green (your own link), amber (the streamer's link), red (known there, but nobody's link can act) or grey (no tools). After you act, Platform actions on the card and Mod history in the panel show what each platform answered.

Why "sent", not "done"

The platforms are asked after the site has already applied the action, and the site does not wait for their answers. That keeps a slow platform from delaying a ban in your own chat. The answers arrive a moment later. The status line fills in as each platform answers, and a community member card says "Site ban applied; platform bans sent." rather than "done everywhere". Mod history has the answers for every action. A row in Mod history or the Bans list shows "โœ—" with the platforms where a ban did not land. Press Retry on a failed one.

A failure gives its reason in a few words: "missing scope", "not live", "no earlier ban there" (an unban with nothing to lift), "refused, 401" or "refused, 403", or "error" with the platform's code. A "not on Twitch" note in place of an answer means the site does not know this person's account there.

Common answers in the log:

Answer Meaning What to do
โœ“ Done Nothing
โœ— (403) The platform refused the account that acted, usually because that mod is not a mod on your channel there Make them a mod on the platform, then Retry
no_capable_token Neither the mod's link nor yours has the scope Link your own account as the admin, or press Update permissions
target_no_twitch_id, target_no_kick_id The site does not know this person's account there Nothing to do, or Retry after they chat on that platform
twitch_broadcaster_unset, kick_broadcaster_unset The channel's numeric id is not saved Save it on the platform's page in the Admin Panel
not_live, youtube_channel_unset YouTube actions run while you are live, through the YouTube sign-in that is still being built Ban on YouTube itself for now
unsupported The platform has no tools (Streamplace) Nothing

One person, several accounts

The site keeps one identity for each person it can recognise, joining their accounts on different platforms. Two things join them: the person linking their platforms to their site account, or a mod merging two identities in Identity links.

A ban follows the person, not the account:

Typing a name in the Bans box or a command (/ban casey) reaches only site accounts. For a Twitch-only chatter, act from their message or card.

Undoing

You did To undo
Time out or ban from a message's โ‹ฏ menu or the person's card Press Undo on the notice ("Ban: done. Undo lifts the ban. Removed messages stay removed.") within 6 seconds. It answers "Undone." It lifts the ban or timeout, or puts back an earlier ban as it was. The message is removed at once, with the ban, and Undo does not bring it back: a removal is final
Any ban or timeout Unban in the panel's Bans list, โœ… on their card, or /unban or /untimeout
A ban on someone with no site account lift platform ban on their card
A timeout that should be shorter Apply the shorter one in Bans with Override ticked. Without it, the site keeps the stronger action, so two mods acting at once never shorten each other
A deletion or a purge Cannot be undone. A removal on a platform is final there too
An identity merge Cannot be undone

An unban is sent to the platforms like a ban. It lifts the platform ban whoever placed it, including a ban a mod made on Twitch directly.

Delete

Deleting a site message also deletes its copies on the platforms it was cross-posted to. Deleting a platform message hides it in site chat and asks that platform to delete it.

Purge

A purge removes one person's recent messages everywhere in one step: their site messages, their messages from every linked platform, and the platform copies of their cross-posts. The window depends on where you start it:

A purge removes at most 250 site messages and 250 platform messages, and on Kick up to 50. For a very busy spammer, purge again.

Slow mode

Slow mode sets a wait between messages for everyone except mods. Set it in Chat controls (presets up to 120 seconds) or with /slowmode 45 (up to 3600). If your install has a Twitch channel set up, it is copied to Twitch, which accepts 3 to 120 seconds. A longer wait on the site gives Twitch 120. Kick, YouTube and Streamplace keep their own slow mode.

/slowmode casey 30 1h slows one person to one message every 30 seconds for an hour, on the site only. Twitch has no per-person slow mode. Without a length it lasts until you clear it with /slowmode casey off. A person's own limit can only make them slower than the room, never faster. /slowmode-list shows who is slowed.

When a platform's mods act

Moderation also flows the other way. When a moderator on Twitch, Kick or YouTube deletes a message, the site hides it. When they ban or time someone out, the site hides that person's messages from that platform from the last 24 hours, as the platform's own chat does. This does not create a site ban.

In community rooms

Your community rooms are moderated with Matrix's own tools, on a member's card. Press a name in the member list or in a channel to open it.

Button What it does
Kick Removes them from every channel in the space. They can join again
Ban Bans them from every channel in the space, and applies a site ban, and sends the ban to the platforms. The confirm button says so: "Confirm ban from 4 channels, the site and platforms?"
Unban The reverse, in every channel, on the site and on the platforms

These buttons appear only if your power level in the room allows them. Your server gives site mods that power within minutes of making them mods (see Roles and permissions). A mod with enough power can also delete others' messages from a message's menu.

A ban made in the site's Bans, on a chat card or from a message menu reaches the rooms by itself, through your server, as described under What a ban covers on the site.

The channels are changed one by one, so the server's rate limit is not mistaken for a refusal. The card then reports each part separately, for example "Banned from 3 of 4 channels. Failed: #art." and "Site ban applied; platform bans sent."

The word filter, the link gate and automod check site chat. They do not check community rooms or direct messages.

Next: Blocked words and the review queue

โ† Moderating