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 aee587c..f445a8f 100644
--- a/app.js
+++ b/app.js
@@ -7,6 +7,7 @@ import {
} from "discord-interactions";
import { Client, GatewayIntentBits, ActivityType } from "discord.js";
import {
+ blep,
help,
pet,
schedule_message,
@@ -42,6 +43,9 @@ function handle_application_command(state, data, channel_id) {
case "help":
return help(state);
+ case "blep":
+ return blep(state);
+
default:
console.error(`unknown command: ${name}`);
return res.status(400).json({ error: "unknown command" });