Add nightbot's show subcommand
This commit is contained in:
parent
a5dd1aac4e
commit
d1dbdd3356
1 changed files with 9 additions and 9 deletions
|
|
@ -26,15 +26,15 @@ const subcommands: {[index: string]: subcommand} = {
|
|||
})).payload;
|
||||
},
|
||||
},
|
||||
// "show": {
|
||||
// modOnly: false,
|
||||
// async handler(meta, req) {
|
||||
// return (await req.server.inject({
|
||||
// method: `GET`,
|
||||
// url: `/${meta.channel}/game`
|
||||
// })).payload;
|
||||
// },
|
||||
// },
|
||||
"show": {
|
||||
modOnly: false,
|
||||
async handler(meta, req) {
|
||||
return (await req.server.inject({
|
||||
method: `GET`,
|
||||
url: `/${meta.channel}/game`
|
||||
})).payload;
|
||||
},
|
||||
},
|
||||
"guess": {
|
||||
modOnly: false,
|
||||
async handler(meta, req) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue