-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with handling canary subdomain #64
Comments
src/DFs/index.js line 50 Change return webhookURL.replace(/https:\/\/\w*\.?discord\.com\/api/gm, '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed when using a webhook using the canary.discord.com domain it seems to parse incorrectly
here's a snippet of what it requests
rawError":{"type":"Object","message":"404: Not Found","stack":"","code":0},"code":0,"status":404,"method":"POST","url":"[https://discord.com/api/v10https://canary.discord.com/api/webhooks/(channel)/(token)","requestBody"](https://discord.com/api/v10https://canary.discord.com/api/webhooks/(channel)/(token)%22,%22requestBody%22);:
this however can be easily fixed by just removing the canary subdomain, but just wanted to point this out if this means anything
The text was updated successfully, but these errors were encountered: