Skip to content

Instantly share code, notes, and snippets.

@gamerson
Created July 23, 2021 16:31
Show Gist options
  • Save gamerson/f22749c5b6dc4752311a66985f9e57f2 to your computer and use it in GitHub Desktop.
Save gamerson/f22749c5b6dc4752311a66985f9e57f2 to your computer and use it in GitHub Desktop.
Lugbot `/taskStateUi` Example Response
{
"completedFailure": {
"displayType": "danger",
"label": "Completed with errors",
"state": "COMPLETED_FAILURE"
},
"completedSuccess": {
"displayType": "success",
"label": "Completed successfully",
"state": "COMPLETED_SUCCESS"
},
"pending": {
"displayType": "secondary",
"label": "Waiting to start",
"state": "PENDING"
},
"running": {
"displayType": "info",
"label": "Running",
"state": "RUNNING"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment