How do I write a duration in a command (10m, 1h, 7d, 2 days…)?

CommandsDurationBeginner

Commands with a duration (/tempban, /tempmute, /delegate) read a duration typed by hand.

The units

UnitAccepted spellings
Secondss, sec, seconde, secondes, second, seconds
Minutesm, mn, min, minute, minutes
Hoursh, hr, heure, heures, hour, hours
Daysd, j, jour, jours, day, days
Weeksw, sem, semaine, semaines, week, weeks

Valid examples

  • 10m (10 minutes), 1h, 7d, 2 jours
  • Compound durations: 1h30m, 7d 8h 2m 60s, 2 jours 3 heures, 1d, 12h

The pieces are added together. Between two pieces, you can put a space, a comma, a “+”, “et” or “and”.

What is refused

  • A number without a unit, like 1h30 (the unit for “30” is missing): write 1h30m.
  • Extra text, like 7d abc: the whole phrase is read, nothing is guessed.
  • A duration of zero, or longer than 3,650 days.
Mute-specific limit A Discord timeout cannot exceed 28 days. See the article on muting.

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.