Skip to content

verifyToken

verifyToken(webhookUrl, opts?): Promise<VerifyTokenResult>

Defined in: plugins/holocron-plugin-discord/src/verify-token.ts:12

Checks a Discord webhook URL by fetching the webhook; resolves to its name and id, or the failure message.

string

VerifyTokenOptions = {}

Promise<VerifyTokenResult>