0
0
Fork 0

Add nightbot's show subcommand

This commit is contained in:
Oliver-Akins 2023-02-19 20:46:16 -07:00
parent a5dd1aac4e
commit d1dbdd3356

View file

@ -26,15 +26,15 @@ const subcommands: {[index: string]: subcommand} = {
})).payload; })).payload;
}, },
}, },
// "show": { "show": {
// modOnly: false, modOnly: false,
// async handler(meta, req) { async handler(meta, req) {
// return (await req.server.inject({ return (await req.server.inject({
// method: `GET`, method: `GET`,
// url: `/${meta.channel}/game` url: `/${meta.channel}/game`
// })).payload; })).payload;
// }, },
// }, },
"guess": { "guess": {
modOnly: false, modOnly: false,
async handler(meta, req) { async handler(meta, req) {