marvinlabs / laravel-discord-logger

Logging to a discord channel in Laravel
MIT License
172 stars 40 forks source link

Erorr on Payload > Embeds > url on GuzzleWebHook.php on send function #29

Closed indimasia closed 1 year ago

indimasia commented 1 year ago

when i try logging with discord i got error with this message Discord web hook responded with an error (400): {\"embeds\": [\"0\"]} when i the code on GuzzleWebHook.php on send function, its send url on payload with key embeds, when I try post to discord without embeds url, it goes success. Can you remove the url key on payload?

jairdeon commented 1 year ago

Hi, I am also having this same problem. For now, I immediately made the following change to the file:

With that I got the updates from Discord again.