mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
Increase webhook name limit to 80
This commit is contained in:
parent
5ef8a9303d
commit
74e0508065
7 changed files with 476 additions and 457 deletions
|
|
@ -76,5 +76,7 @@ namespace PluralKit.Bot {
|
|||
|
||||
public static PKError DisplayNameTooLong(string displayName, int maxLength) => new PKError(
|
||||
$"Display name too long ({displayName.Length} > {maxLength} characters). Use a shorter display name, or shorten your system tag.");
|
||||
public static PKError ProxyNameTooShort(string name) => new PKError($"The webhook's name, `{name}`, is shorter than two characters, and thus cannot be proxied. Please change the member name or use a longer system tag.");
|
||||
public static PKError ProxyNameTooLong(string name) => new PKError($"The webhook's name, `{name}`, is too long ({name.Length} > {Limits.MaxProxyNameLength} characters), and thus cannot be proxied. Please change the member name or use a shorter system tag.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue