Durations and formats

How to write a duration, a time, a colour, a link or a Discord ID in the dashboard and in commands.

On this page Durations Times and dates Colours Links Channels, roles and members Text and lists Common validation errors

The dashboard checks every value before saving it. This page sums up the expected formats, so that you never see a field turn red again.

Durations

A duration is written as a number followed by a unit, and nothing else:

Unit Meaning Example
s seconds 30s
m minutes 10m
h hours 2h
d or j days 7d, 7j
  • One unit at a time: write 90m, not 1h30.
  • Capital letters and a space between the number and the unit are tolerated (10 M is understood as 10m).
  • 0s (or an empty field) means “no duration”: depending on the setting, “never” or “permanent”. The help text under the field says which.
  • Each setting has its own maximum duration, shown on the module's page. For example, a timeout cannot exceed 28d, the limit set by Discord.

Commands use the same format: /timeout @Léa duration:30m reason:Flooding, /ban @Marc duration:7d reason:Repeated spam, /slowmode duration:10s.

Times and dates

  • A time is written in 24-hour HH:MM format: 09:00, 21:30.
  • Times are interpreted in the server's time zone, set under General settings (Europe/Paris by default).

Colours

Colours are written in six-digit hexadecimal, preceded by a hash: #ff8a3d. The dashboard's colour picker fills the field in for you. Short forms (#f80) and colour names are not accepted.

A link must start with http:// or https://, contain no spaces and be under 500 characters long. This applies to embed images, card backgrounds and webhook addresses.

Channels, roles and members

In the dashboard you pick channels and roles from a list: no need to know their ID. If a chosen channel or role is later deleted on Discord, it shows as “deleted” in the setting, and the dashboard asks you to replace it the next time you save.

Some fields (anti-nuke trusted members, member search) accept a Discord ID: a string of 15 to 21 digits. To copy one, turn on Developer Mode in Discord (User Settings → Advanced), then right-click the member, channel or role and choose Copy ID.

Text and lists

Field type Default limit
Short text 100 characters, unless stated otherwise
Long text 2,000 characters
Message text 2,000 characters; see the embed composer for embed limits
Word list 200 characters per item; duplicates are removed
Lists (panels, thresholds, rewards…) Depends on your plan, see Plan limits

Numbers have a minimum and a maximum, shown on each module's reference page. When the maximum depends on your plan, a “max N” badge next to the field reminds you of it.

Common validation errors

The API returns its messages in French; here is what each one means.

What it says What to fix
Invalid duration (examples: 30s, 10m, 2h, 7j) Use a number followed by a single unit
Time expected in HH:MM format Write the time in 24-hour form, with two digits: 08:05
Colour expected in #rrggbb format Six hexadecimal digits preceded by #
Invalid link (http:// or https://) Add the protocol at the start of the link
This channel no longer exists on the server Pick another channel: the old one was deleted
This setting requires the … plan The setting is reserved for a higher plan
… items at most on your plan You have reached your plan's limit