Spaces:
Running
Running
File size: 1,508 Bytes
bb67179 9962bee bb67179 437baf7 bb67179 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
{
"message": [
{
"type": "equals",
"content": "ping",
"response": "pong"
},
{
"type": "startswith",
"content": "$hello",
"response": "Hello!"
},
{
"type": "equals",
"content": "get kudos",
"function": "getKudos"
}
],
"command": [
{
"name": "hello",
"description": "Sends a greeting!",
"function": "hello",
"parameters": []
},
{
"name": "greet",
"description": "Greets the specified user",
"function": "greet",
"parameters": [
{
"name": "name",
"type": "str",
"description": "The user to greet"
}
]
},
{
"name": "get-kudos",
"description": "The amount of Kudos this user has.",
"function": "getKudos",
"parameters": []
},
{
"name": "generate-status",
"description": "Retrieve the status of an Asynchronous generation request.",
"function": "generateStatus",
"parameters": [
{
"name": "id",
"type": "str",
"description": "The ID of asyncronous generation request."
}
]
}
]
} |