feat: log found commands
vi v@vt3e.cat
Thu, 26 Feb 2026 22:16:59 +0000
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/handlers/interactions.ts
→
src/handlers/interactions.ts
@@ -77,6 +77,12 @@ .map((command) => command.data)
.filter((data): data is ApplicationCommandData => !!data); if (slashCommands.length === 0) return logger.warn("no commands found"); + + logger.info(`found ${slashCommands.length} commands`); + for (const command of slashCommands) { + logger.info(` * ${command.name}`); + } + await registerInteractions(client, slashCommands); }