Show your bots (usually only one)
State could be running
, stopped
or crashed
(in which case error
will be present)
[
{
"status":{
"state": "running",
"error": null,
"thread": 12
},
"bot":{
"token": "xoxb-...",
"icon": ":pig:",
"name": "leeloo",
"id": "slack:T03JYURGY:U1KSHU685",
"user_id": "U1KSHU685"
}
}
]
View available plugins
[
{
"name":"help",
"examples":{
"help":"Show this help message"
}
},
{
"name":"echo",
"examples":{
"echo hello world":"Repeat `hello world` back"
}
},
{
"name":"score",
"examples":{
"score leeloo":"Show the score for leeloo",
"leeloo--":"Be a monster",
"leeloo++":"Give leeloo 1 point"
}
},
{
"name":"panic",
"examples":{
}
},
{
"name":"divide",
"examples":{
"1 / 0":"Force a crash",
"10 / 2":"Do some math"
}
}
]
Enable the named plugin for the specified bot
Disable the named plugin