Adding more to queue_command
This commit is contained in:
@@ -148,12 +148,24 @@
|
|||||||
"description": "Queues a command to be executed.",
|
"description": "Queues a command to be executed.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"command": {
|
"command": {
|
||||||
"type": "array",
|
"title": "Command",
|
||||||
"items": {
|
"description": "The command to execute.",
|
||||||
"type": "string",
|
"oneOf": [
|
||||||
"description": "The command to execute.",
|
{
|
||||||
"examples": ["/say Hello World"]
|
"type": "string",
|
||||||
}
|
"pattern": "^[^/].*$",
|
||||||
|
"examples": ["say Hello World"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The command to execute.",
|
||||||
|
"examples": ["say Hello World"],
|
||||||
|
"pattern": "^[^/].*$"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user