🐢
Set Slowmode
mod.slowmodeThe Mod SquadModerationSets a channel's slowmode cooldown — from 0 (off) to 21600 seconds (6 hours). Users can only send one message per cooldown. Great for calming heated chats, preventing raid spam, or managing high-traffic events.
When to use this
- →Set to 0 to turn slowmode off
- →Max is 21600 (6 hours) — though that's usually overkill
- →Great for auto-calming a channel during a raid or heated argument
On the canvas
This is what Set Slowmode looks like when you place it on your flow. Each field below is something you configure in the inspector panel.
🐢Moderation
Set Slowmode
mod.slowmodechannelIdrequired
{{channel.id}}
secondsrequired
5 — set 0 to disable
output
error
Config fields
| Field | Type | Req | What it does |
|---|---|---|---|
channelId{{channel.id}} | text | yes | Channel ID 📍 |
seconds5 — set 0 to disable | number | yes | Cooldown ⏱️ (seconds) |
Output ports
outputSlowmode updated
errorBot needs Manage Channels in the target channel
📐
In TypeScript, this would be…
Not something you need to write — just a look at what Kitcord does for you.
TypeScript
const channel = await guild.channels.fetch(channelId);
if (channel?.isTextBased()) {
await channel.setRateLimitPerUser(seconds);
// 0 = disable slowmode
}More Moderation pieces