Applications

Validation rules

Reject bad answers before they hit staff. Min/max, regex, and required-vs-optional toggles.

Every question can have validation rules. The bot rejects bad answers and asks the applicant to try again before moving on.

Required vs optional#

Toggle Required on each question. If a question is optional, the applicant can reply "skip" to leave it blank.

Text validation#

Min length
Reject answers shorter than this many characters.
Max length
Reject answers longer than this. Discord embed limit is 1024 per field.
Regex
Any JavaScript-style regex. The answer must match.
Regex error message
Custom message shown when regex fails. Defaults to a generic one.

Number validation#

Min value
Reject numbers below this.
Max value
Reject numbers above this.

Examples#

Force a Discord invite link

text
Regex: ^https://discord\.gg/[a-zA-Z0-9]+$ Error: Reply with a Discord invite link starting with https://discord.gg/

Force an age between 13 and 100

Question type: Number. Min value: 13. Max value: 100.

Force a YouTube link

text
Regex: ^https://(www\.)?(youtube\.com|youtu\.be)/.+ Error: Paste a YouTube link.