Closed cswendrowski closed 4 years ago
Hello, do you know when you will be able to implement this feature?
@kamillw23 I'll take a look at this in the next few days!
Great, thanks.
@kamillw23 This is now available - please see instructions here: https://github.com/cswendrowski/HumbleBundleBot/blob/master/README.md#how-to-test-a-registered-webhook
Thank you, I will check this tommorow.
Is your feature request related to a problem? Please describe. Users would like a way to immediately verify that their webhook is working (both Discord and JSON). Currently they have to wait for a scrape.
Describe the solution you'd like A new Function,
TestWebhook(string webhook, int webhookType, string currentBundleName)
should be created. This would load the current bundle of given name (see #9 for info on adding "Current"), then sends to a given webhook with the correct formatDescribe alternatives you've considered Rather than passing in a
currentBundleName
, we could just send the most recent bundle we've scrapedAdditional context Do we need to consider anti-spam functionality? We currently assume that a webhook is owned by the User. If someone got access to a Webhook they could spam it through our service, but they could do that themselves as well.