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.
Parameters
Section titled “Parameters”webhookUrl
Section titled “webhookUrl”string
VerifyTokenOptions = {}
Returns
Section titled “Returns”Promise<VerifyTokenResult>