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
}
}