#Discord webhook

14 messages · Page 1 of 1 (latest)

lusty vessel
#

How to use discord webhook with serverless? I tried with both "webhook" and "webhookV2"

wind spire
lusty vessel
wind spire
#

What is Discord expecting? Does your handler return any data?

lusty vessel
#

nothing happen

#

Discord just need post request like requests.post(self.webhook_url, data=data, files=files)

wind spire
#

Do you have any way to tell if the worker is requesting the webhook?

lusty vessel
#

what do you mean

#

sorry i dont understand

wind spire
#

How are you able to tell if the worker has hit the webhook URL or not?

lusty vessel
#

i dont know, i just add webhook to the request

wind spire
lusty vessel
#

it think it shuold log something to discord when request is completed