Commit451 / skyhook

Parses webhooks and forwards them in the proper format to Discord.
https://commit451.github.io/skyhook-web
MIT License
367 stars 95 forks source link

Fix/Improve formatting of Patreon hook #164

Open gregzaal opened 3 years ago

gregzaal commented 3 years ago

The hooks from Patreon say "Pledged $NaN" instead of the actual amount, making them fairly useless:

2020-11-24_18-47-24_Discord

I understand that everyone has different needs, but personally for new pledges I expect to see:

  1. User name (already there)
  2. Pledge amount (needs fix)
  3. Email address
  4. Link to user profile

For pledge edits, the old amount and new amount is needed for comparison.

And for pledge deletions, we also need:

  1. Date they first pledged
  2. The lifetime support amount would be nice
dscalzi commented 3 years ago

please send me an example of the payload you're receiving. It's working fine with patreon's mock data which is all I have to go by.

Ex. image

gregzaal commented 3 years ago

I'm not sure how to do that, do you know some tool that will let me view the payload of the request? I have skyhook running on my own server now* so maybe there's a log somewhere?

*(the $NaN is present using either skyhookapi.com or my host, so that's not the issue)