[GH-ISSUE #83] Discord Canary Webhook URLs Invalid for ERROR_WEBHOOK #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TheLovinator/discord-twitter-webhooks#17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EthanC on GitHub (Mar 31, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/83
The
ERROR_WEBHOOKenvironment variable seems to invalidate webhook URLs copied from the Discord Canary client. This could be fixed by removingcanary.from the URL, but seeing as a warning is not thrown for canary URLs onWEBHOOK_URL, this seems to be a bug.I'm not sure if this prevents errors from being sent or not as I've never received an error on this webhook 👀
@TheLovinator1 commented on GitHub (Mar 31, 2023):
Hi,
It just warns, so I will wait till tomorrow to make it stop complaining when using a canary or PTB webhook. I guess there is no difference between the subdomains so not worth removing the canary part?
@dziban303 commented on GitHub (Mar 31, 2023):
Yeah there is no functional difference. I just habitually drop the subdomain from webhook URLs out of an abundance of caution.
@TheLovinator1 commented on GitHub (Mar 31, 2023):
I am now checking that webhook works instead of just checking if it starts with https://discord.com/api/webhooks/ :-)