Okay. Today I looked into this a bit deeper in order to connect a few repositories with Discord that weren’t working. So now I have a bit of a better understanding about it. I thought that by just creating a webhook in Discord, and linking it to the repository, it should just magically work, but the parameters that Discord expects are not the same that GitHub sends.
So… yeah. After checking https://requestbin.com/, I found https://pipedream.com/ and after fidgeting with it for a while, I managed to connect both ends. Highly recommended for anyone that has this or a similar problem, since it allows you to customize the message that you want to send, and which data you want to show.
Lastly, I want to highlight that somehow, when I first encountered this problem, I managed to show some messages on Discord, like commits. But appart from that most of the webhook requests were rejected. I don’t know why this is, if it’s from Discord end, or if it’s intended even, but it was confusing.