Skip to content

resolveToken

const resolveToken: TokenResolver

Defined in: plugins/holocron-plugin-discord/src/auth.ts:11

Resolves the Discord webhook URL from --token, HOLOCRON_DISCORD_WEBHOOK, DISCORD_WEBHOOK_URL or the keyring, and throws an AuthError when none is set.