You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that token is no longer returning by Discord (see discord/discord-api-docs#3056) when using Discord webhooks generated by a bot. This causes the following issue:
UnhandledPromiseRejectionWarning: Error: 401 Unauthorized
at [redacted]/node_modules/snekfetch/src/index.js:195:23
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Does anyone have any recommended solutions for obtaining a token using this library?
The text was updated successfully, but these errors were encountered:
I'm not sure I follow. If you specify a full webhook URL in the constructor it should contain the webhook token, so the response should include it as well right?
It appears that
token
is no longer returning by Discord (see discord/discord-api-docs#3056) when using Discord webhooks generated by a bot. This causes the following issue:Does anyone have any recommended solutions for obtaining a token using this library?
The text was updated successfully, but these errors were encountered: