Discord: add slash command handling

This commit is contained in:
Shadow
2026-01-02 00:11:03 -06:00
committed by Peter Steinberger
parent 17e17f85ae
commit b135b3efb9
8 changed files with 336 additions and 4 deletions

View File

@@ -2254,6 +2254,7 @@ export async function startGatewayServer(
token: discordToken.trim(),
runtime: discordRuntimeEnv,
abortSignal: discordAbort.signal,
slashCommand: cfg.discord?.slashCommand,
mediaMaxMb: cfg.discord?.mediaMaxMb,
historyLimit: cfg.discord?.historyLimit,
})