chore: update schema

This commit is contained in:
Paul Makles
2022-09-18 11:46:39 +01:00
parent 8f5aa33f08
commit b3ebe9d967
3 changed files with 6 additions and 6 deletions
+4 -2
View File
@@ -6056,6 +6056,7 @@
"enum": [
"Online",
"Idle",
"Focus",
"Busy",
"Invisible"
]
@@ -7726,10 +7727,11 @@
"nullable": true
},
"colour": {
"description": "Replace the display role colour shown on this message\n\nMust have `ManageRole` permission to use\n\nThis can be any valid CSS colour",
"description": "Replace the display role colour shown on this message\n\nMust have `ManageRole` permission to use",
"type": "string",
"maxLength": 32,
"maxLength": 128,
"minLength": 1,
"pattern": "(?i)^(?:[a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+|(repeating-)?(linear|conic|radial)-gradient\\(([a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+|\\d+deg)([ ]+(\\d{1,3}%|0))?(,[ ]*([a-z ]+|var\\(--[a-z\\d-]+\\)|rgba?\\([\\d, ]+\\)|#[a-f0-9]+)([ ]+(\\d{1,3}%|0))?)+\\))$",
"nullable": true
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "revolt-api",
"version": "0.5.5-3",
"version": "0.5.5-4",
"description": "Revolt API Library",
"main": "dist/index.js",
"module": "esm/index.js",
+1 -3
View File
@@ -819,7 +819,7 @@ export interface components {
* @description Presence status
* @enum {string}
*/
Presence: "Online" | "Idle" | "Busy" | "Invisible";
Presence: "Online" | "Idle" | "Focus" | "Busy" | "Invisible";
/** @description User's profile */
UserProfile: {
/** @description Text content on user's profile */
@@ -1424,8 +1424,6 @@ export interface components {
* @description Replace the display role colour shown on this message
*
* Must have `ManageRole` permission to use
*
* This can be any valid CSS colour
*/
colour?: string | null;
};