how can set webhook for my py files in replit?
I'm beginner thanks in advance
Hey, doing a quick scroll through your code, it is not very beginner friendly. I see 2 options here, either you are not a beginner or you copied the code from somewhere. The second option seems more likely. My suggestion to you is first familiarize yourself with python and creating bots, and secondly start by making a discord bot, as they are more popular and have better documentation on them so it would be easier for you. Once you get the hang of it, come back to this. Also please next time you post, have it all in English because you clearly can't expect everyone to read Arabic.
@AnbiaBarekzay glad to hear that you are eager to learn. Nowadays most people learn programming online, not from in person institutes. There are a measurable amount of tutorials for programming languages especially Python since it is very popular. Heck, even replit has a bunch:
here is another great resource that I myself used:
and here is a quick telegram bot tutorial I found:
Just out of curiosity where are you? Judging from the arabic in the text you are somewhere in the middle east, but I know for a fact that in that area programming is very respected, unless you are a female in some of the more restrictive countries. I would know since I am from that area. Also Replit is probably not the best lace to run your bot since it is an online IDE and is not connected locally to your computer
@Glitchez Thanks bro! for your suggestion. unfortunately I'm from Afghanistan the worse country for learning . I have loved learning programming since I was younger but there was no internet in our country. I started learning again when the Internet spread all over the world and provided the conditions for learning.