From 9c4e538aa0b41906b97b7ecc3317c23ba26b3246 Mon Sep 17 00:00:00 2001 From: jacob janzen <53062115+JacobJanzen@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:07:47 -0600 Subject: Add help message --- app.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app.js') diff --git a/app.js b/app.js index 53fe461..3bc5811 100644 --- a/app.js +++ b/app.js @@ -34,6 +34,10 @@ function handle_application_command(state, data, channel_id) { case "pet": return pet(state); + case "help": + return help(state); + + default: console.error(`unknown command: ${name}`); return res.status(400).json({ error: "unknown command" }); -- cgit v1.2.3