How do I ban someone for just a few days (/tempban)?
/tempban bans a member for a set duration. Permission required: Ban Members.
- Type
/tempban - Pick the
utilisateur - Write the
duréeFor example7dor2 days 3 hours. See the duration formats. - Add a
raisonand confirm
The bot first tries to notify the member by private message (duration and reason), then bans them and notes the end date. The ban is then lifted when it expires.
The member must be on the server
Unlike
/ban, /tempban does not accept an ID: you pick a member who is present. For an account that has already left, use /ban with the ID.Error message
"Unable to moderate this user" means their role is above or equal to the bot's: see the troubleshooting article.
Still stuck?
Contact support with the title of this article, the step where you are stuck and what you see on screen.
Contact support More articles: ModerationLast checked: 13 November 2026.