[Core] Limit server prefix length (#5117)

* Restrict prefix length

* Update docs
This commit is contained in:
El Laggron
2021-06-12 17:41:29 +02:00
committed by GitHub
parent a428e42f1f
commit dafffd969f
2 changed files with 25 additions and 0 deletions

View File

@@ -3174,6 +3174,8 @@ Sets Red's server prefix(es).
This is not additive. It will replace all current server prefixes.
You cannot have a prefix with more than 20 characters.
**Examples:**
- ``[p]set serverprefix !``
- ``[p]set serverprefix "! "`` - Quotes are needed to use spaces in prefixes.