implement first interaction handling

This commit is contained in:
2026-02-18 00:56:54 +01:00
parent cb7235fd69
commit 6053692bc1
31 changed files with 278 additions and 493 deletions

View File

@@ -1,6 +1,7 @@
import { config } from "config";
import { Routes } from "discord.js";
import getCommands from "entitites/commands";
import { logger } from "lib/common-logger";
import { discordRestClient } from "lib/rest-client";
export const publishCommands = async () => {
@@ -11,8 +12,8 @@ export const publishCommands = async () => {
body: getCommands(),
},
);
console.log("Successfully added commands");
logger.info("successfully added commands");
} catch (e) {
console.error(e);
logger.error("failed to add commands:", e);
}
};