kyb3r/dhooks

"ValueError: Invalid webhook URL provided."

dbva opened this issue · 4 comments

dbva commented

I tried following the exact same photo the tutorial showed me but it kept sending me errors, I've tried googling the error but nothing helped so far, I updated dhooks to version 1.1.4 and tried some other things but nothing worked.

Source code:
image

The error I keep getting:
image

Code_-_Insiders_WOOy5nB1Ay
Discord_2g7wULi3Dn

Works for me ™️

Does your webhook start with https://discord.com or https://discordapp.com? It was fixed in 247fac5 but 1.1.4 is the commit before this one, so you need to change discordapp to discord.

dbva commented

Code_-_Insiders_WOOy5nB1Ay Discord_2g7wULi3Dn

Works for me ™️

Does your webhook start with https://discord.com or https://discordapp.com? It was fixed in 247fac5 but 1.1.4 is the commit before this one, so you need to change discordapp to discord.

Yeah, I've tried both discordapp.com and discord.com but none of them worked, I tried using a website that tests your webhook by sending a message with it, that worked but my original code still doesnt.

Welp, then I have no idea lol
I guess you have tried a fresh virtual environment?

dbva commented

Welp, then I have no idea lol I guess you have tried a fresh virtual environment?

I've actually figured it out, I just reinstalled PyCharm and reinstalled all of the packages and now it worked, I guess there was some error with the app or something but thanks for helping anyways.