When you login through a canary client (or the site) and generate a Webhook, you get something like https://canary.discordapp.com/api/webhooks/<channel snowflake>/<stuff>.
You get a similar result on ptb client too, just with ptb. instead of canary..
While throwing canary. or ptb. from domain doesn't affect its functionality (it works the same), I prefer to keep webhooks on the domain I get them from as they still work, and this causes Jenkins to nag me and throw a error even though it works perfectly fine when I save it and try it out.
This PR adds support for ptb and canary webhooks to finally end the nag.
When you login through a canary client (or the site) and generate a Webhook, you get something like
https://canary.discordapp.com/api/webhooks/<channel snowflake>/<stuff>
.You get a similar result on ptb client too, just with
ptb.
instead ofcanary.
.While throwing
canary.
orptb.
from domain doesn't affect its functionality (it works the same), I prefer to keep webhooks on the domain I get them from as they still work, and this causes Jenkins to nag me and throw a error even though it works perfectly fine when I save it and try it out.This PR adds support for ptb and canary webhooks to finally end the nag.