aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorjacob janzen <53062115+JacobJanzen@users.noreply.github.com>2024-12-11 20:28:09 -0600
committerGitHub <noreply@github.com>2024-12-11 20:28:09 -0600
commit36066ad3d8d92855bbfdf4273a53066c6092fa45 (patch)
tree7f432cebbfc4c186a2cbc6d5f841efc4ed8f4c9e /app.js
parent78541dcecfc154493a6f1cedf33c0c8178331d96 (diff)
add blep command (#4)
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" });