aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 4 insertions, 0 deletions
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" });