How do I ban someone for just a few days (/tempban)?

CommandsBanDuration

/tempban bans a member for a set duration. Permission required: Ban Members.

  1. Type /tempban
  2. Pick the utilisateur
  3. Write the durée For example 7d or 2 days 3 hours. See the duration formats.
  4. Add a raison and 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: Moderation

Last checked: 13 November 2026.