Jump to content

Telegram Bot


glebzer

Recommended Posts

Hey

I'm trying to host a telegram bot in Python on Tommy2. I'm using these tutorials as a reference

https://wiki.helionet.org/tutorials/discord-bot

https://www.youtube.com/watch?v=6dww3CNK15o

I put my project inside `httpdocs` folder, changed permission to 755 and created `start.py` and `stop.py`

But a request to start the bot fails with 500. I think I' might be missing something most likely.

Should I change `.composer/.htaccess`? And what is the right path for my project in `start.py` script?

P.S

My project is public now. Fortunately I didn't copy secrets but how can I make this folder private?

 

Thanks in advance

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...