diff --git a/server/index.ts b/server/index.ts
index c78aa4af..4b5148d9 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -1015,6 +1015,221 @@ export function createServer() {
});
// Discord Admin Register Commands
+ app.get("/api/discord/admin-register-commands", async (req, res) => {
+ // GET: Show HTML form for browser access
+ res.setHeader("Content-Type", "text/html; charset=utf-8");
+ return res.send(`
+
+
+
+ Register Discord Commands
+
+
+
+
+
🤖 Discord Commands Registration
+
Register all Discord slash commands for AeThex
+
+
+
Commands to be registered:
+
+ - ✅ /verify - Link your Discord account
+ - ✅ /set-realm - Choose your primary arm
+ - ✅ /profile - View your AeThex profile
+ - ✅ /unlink - Disconnect your account
+ - ✅ /verify-role - Check your Discord roles
+
+
+
+
+
+
+
+
+
+
+
⏳ Registering commands... please wait...
+
+
+
+
+
+
+ `);
+ });
+
app.post("/api/discord/admin-register-commands", async (req, res) => {
try {
const authHeader = req.headers.authorization;