β±οΈ
Timeout Member
mod.timeoutThe Mod SquadModerationPuts a member in Discord's native timeout. While timed out they can't send messages, add reactions, or join voice. Perfect for automated cool-downs. Requires Moderate Members permission. Max duration is 28 days.
When to use this
- βSet duration to 0 to remove an active timeout early
- βMax is 28 days (2,419,200 seconds)
- βThe reason shows in Discord's audit log β always fill it in
On the canvas
This is what Timeout Member looks like when you place it on your flow. Each field below is something you configure in the inspector panel.
β±οΈModeration
Timeout Member
mod.timeoutuserIdrequired
{{user.id}}
durationrequired
300 β that's 5 minutes
reason
Spamming in #general
output
error
Config fields
| Field | Type | Req | What it does |
|---|---|---|---|
userId{{user.id}} | text | yes | Who to timeout π€ |
duration300 β that's 5 minutes | number | yes | Duration β±οΈ (seconds) |
reasonSpamming in #general | text | β | Reason π |
Output ports
outputTimeout applied
errorCouldn't apply β check Moderate Members permission
π
In TypeScript, this would beβ¦
Not something you need to write β just a look at what Kitcord does for you.
TypeScript
try {
const member = await guild.members.fetch(userId);
await member.timeout(durationMs, reason);
// duration 0 clears timeout (see mod.untimeout)
} catch {
// Error port
}More Moderation pieces