linear-discord-serverless icon indicating copy to clipboard operation
linear-discord-serverless copied to clipboard

Add support for PTB/Canary Webhook URLs

Open aw-0 opened this issue 3 years ago • 4 comments

Added support for Discord's Canary/PTB Webhook URLs and touched up some function documentation to fit the changes. Love LDS btw ❤️

aw-0 avatar Apr 19 '22 01:04 aw-0

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/alii/linear-discord-serverless/62EvRSGMVYeAF6P5VrPJYoGVzLce
✅ Preview: https://linear-discord-serverless-git-fork-aw-0-aw0-patch-1-alii.vercel.app

vercel[bot] avatar Apr 19 '22 01:04 vercel[bot]

yes

AussieDoggo avatar Apr 19 '22 01:04 AussieDoggo

Thanks for the PR! Glad you like LDS :) Would it at all be possible if we could implement a regex as mentioned in a review comment. ❤️

alii avatar Apr 19 '22 11:04 alii

Added regex testing under isWebhook. I've also attempted to create regex to account for these changes in parseWebhook over the last hour or so to no avail, as I'm not very experienced in regex. Will continue trying and commit the rest.

aw-0 avatar Apr 20 '22 01:04 aw-0