diff --git a/assets/schemas.json b/assets/schemas.json
index 6e8f2f48d..792881189 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -4523,10 +4523,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -9356,10 +9361,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -14134,10 +14144,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -18890,10 +18905,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -23668,10 +23688,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -28438,10 +28463,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -33238,10 +33268,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -38002,10 +38037,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -42769,10 +42809,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -47548,10 +47593,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -52330,10 +52380,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -57094,10 +57149,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -61960,10 +62020,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -66736,10 +66801,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -71512,10 +71582,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -76283,10 +76358,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -81090,10 +81170,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -85866,10 +85951,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -90633,10 +90723,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -95403,10 +95498,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -100182,10 +100282,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -104949,10 +105054,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -109716,10 +109826,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -114502,10 +114617,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -119272,10 +119392,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -124102,10 +124227,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -128891,10 +129021,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -133821,10 +133956,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -138609,10 +138749,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -143407,10 +143552,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -148187,10 +148337,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -152973,10 +153128,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -157749,10 +157909,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -162513,10 +162678,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -167414,10 +167584,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -172169,10 +172344,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -177067,10 +177247,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -181834,10 +182019,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -186609,10 +186799,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -191377,10 +191572,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -196145,10 +196345,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -200948,10 +201153,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -205716,10 +205926,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -210483,10 +210698,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -220054,10 +220274,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -224825,10 +225050,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -229670,10 +229900,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -234437,10 +234672,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -239204,10 +239444,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -243968,10 +244213,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -248738,10 +248988,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -253518,10 +253773,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -258282,10 +258542,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -263095,10 +263360,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -263482,7 +263752,6 @@
]
},
"bio": {
- "maxLength": 1024,
"type": "string"
},
"accent_color": {
@@ -267894,10 +268163,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -272658,10 +272932,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -277447,10 +277726,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -282331,10 +282615,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -287094,10 +287383,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -291896,10 +292190,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -296686,10 +296985,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -301528,10 +301832,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -306292,10 +306601,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -311064,10 +311378,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -315826,10 +316145,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -320594,10 +320918,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -325362,10 +325691,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -330216,10 +330550,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -334984,10 +335323,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -339784,10 +340128,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -344556,10 +344905,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -349318,10 +349672,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -354086,10 +354445,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -358865,10 +359229,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -363658,10 +364027,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -368422,10 +368796,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -373189,10 +373568,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -377985,10 +378369,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -382749,10 +383138,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -387592,10 +387986,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -392363,10 +392762,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -397127,10 +397531,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -401891,10 +402300,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -406662,10 +407076,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -411430,10 +411849,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -416194,10 +416618,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -421033,10 +421462,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -425808,10 +426242,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -430584,10 +431023,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -435410,10 +435854,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -440195,10 +440644,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -444986,10 +445440,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -449771,10 +450230,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -454535,10 +454999,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -459327,10 +459796,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -464131,10 +464605,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -468889,10 +469368,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -473657,10 +474141,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -478421,10 +478910,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -483192,10 +483686,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -488167,10 +488666,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -492922,10 +493426,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -497777,10 +498286,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -502535,10 +503049,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -507293,10 +507812,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -512051,10 +512575,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -516909,10 +517438,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -521665,10 +522199,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -526421,10 +526960,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -531177,10 +531721,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -535935,10 +536484,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -540693,10 +541247,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -545451,10 +546010,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -550209,10 +550773,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -554967,10 +555536,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -559789,10 +560363,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -564547,10 +565126,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -569305,10 +569889,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -574063,10 +574652,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -578868,10 +579462,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -583862,10 +584461,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -588620,10 +589224,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -593378,10 +593987,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -598136,10 +598750,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -602894,10 +603513,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -607678,10 +608302,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -612436,10 +613065,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -617192,10 +617826,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -621971,10 +622610,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -626743,10 +627387,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -631634,10 +632283,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -636416,10 +637070,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -641192,10 +641851,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -645960,10 +646624,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -650728,10 +651397,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -655483,10 +656157,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -660253,10 +660932,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -665020,10 +665704,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -669802,10 +670491,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -674588,10 +675282,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -679353,10 +680052,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -684117,10 +684821,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -688881,10 +689590,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
@@ -693651,10 +694365,15 @@
"maxFriends": {
"type": "integer",
"default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
}
},
"additionalProperties": false,
"required": [
+ "maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
diff --git a/src/api/routes/users/#id/profile.ts b/src/api/routes/users/#id/profile.ts
index db0922d68..44271cad3 100644
--- a/src/api/routes/users/#id/profile.ts
+++ b/src/api/routes/users/#id/profile.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,6 +19,8 @@
import { route } from "@spacebar/api";
import {
Badge,
+ Config,
+ FieldErrors,
Member,
PrivateUserProjection,
User,
@@ -136,6 +138,18 @@ router.patch(
select: [...PrivateUserProjection, "data"],
});
+ if (body.bio) {
+ const { maxBio } = Config.get().limits.user;
+ if (body.bio.length > maxBio) {
+ throw FieldErrors({
+ bio: {
+ code: "BIO_INVALID",
+ message: `Bio must be less than ${maxBio} in length`,
+ },
+ });
+ }
+ }
+
user.assign(body);
await user.save();
diff --git a/src/api/routes/users/@me/index.ts b/src/api/routes/users/@me/index.ts
index cddc3a087..5caf0d119 100644
--- a/src/api/routes/users/@me/index.ts
+++ b/src/api/routes/users/@me/index.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -189,6 +189,18 @@ router.patch(
}
}
+ if (body.bio) {
+ const { maxBio } = Config.get().limits.user;
+ if (body.bio.length > maxBio) {
+ throw FieldErrors({
+ bio: {
+ code: "BIO_INVALID",
+ message: `Bio must be less than ${maxBio} in length`,
+ },
+ });
+ }
+ }
+
user.assign(body);
user.validate();
await user.save();
diff --git a/src/util/config/types/subconfigurations/limits/UserLimits.ts b/src/util/config/types/subconfigurations/limits/UserLimits.ts
index 8f9b1a97f..afe9afbe9 100644
--- a/src/util/config/types/subconfigurations/limits/UserLimits.ts
+++ b/src/util/config/types/subconfigurations/limits/UserLimits.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -20,4 +20,5 @@ export class UserLimits {
maxGuilds: number = 1048576;
maxUsername: number = 32;
maxFriends: number = 5000;
+ maxBio: number = 190;
}
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index c929039ef..b299bcfce 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -130,7 +130,7 @@ export class User extends BaseClass {
bot: boolean = false; // if user is bot
@Column()
- bio: string = ""; // short description of the user (max 190 chars -> should be configurable)
+ bio: string = ""; // short description of the user
@Column()
system: boolean = false; // shouldn't be used, the api sends this field type true, if the generated message comes from a system generated author
diff --git a/src/util/schemas/UserModifySchema.ts b/src/util/schemas/UserModifySchema.ts
index e155b9af4..4be6ad43a 100644
--- a/src/util/schemas/UserModifySchema.ts
+++ b/src/util/schemas/UserModifySchema.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -23,9 +23,6 @@ export interface UserModifySchema {
*/
username?: string;
avatar?: string | null;
- /**
- * @maxLength 1024
- */
bio?: string;
accent_color?: number;
banner?: string | null;