Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python based telegram bot #7

Open
KishorJena opened this issue Jun 15, 2023 · 4 comments
Open

Python based telegram bot #7

KishorJena opened this issue Jun 15, 2023 · 4 comments

Comments

@KishorJena
Copy link

KishorJena commented Jun 15, 2023

I tried to deploy the telegram bot written in Python but I get error as the Python command is not found
I could not find any dedicated repo for a Python telegram bot like nodejs. I had to choose Python 3.10.x under the same template where nodejs is available.

and also there is no option for choosing main file for python and also it shows files and folder of nodejs template
image

@seekayel
Copy link
Member

Was this a python telegram bot you wrote or this starter?

If it was your repo I think the best place to debug with you is on discord: https://discord.cyclic.sh

This repo is nodejs only.

@KishorJena
Copy link
Author

KishorJena commented Jun 17, 2023

Thanks for reply @seekayel
its my own written bot using Python. I tried 'starter' but it contains the nodeJS (even if i choose discord bot) files only. it just allows me to choose python, but the files and folders are the same for Python as well.js files, package.json etc.
Then i tried to link my own repo from github. but it shows something like 'line 2: python command not found'.

By the way, the bot works fine if host it from my pc (i.e. vscode)

Log on cyclic.sh
image

@adarshchri
Copy link

Hey @KishorJena can you show the step to deploy the Python telegram bot on Cyclic it help us

@KishorJena
Copy link
Author

KishorJena commented Aug 8, 2023

Hey @KishorJena can you show the step to deploy the Python telegram bot on Cyclic it help us

I forgot. But there is option to link your own bot. there you can can link your git repo which contains python bot with requirements.txt. Dont know how but once the bot worked successfully. I was able to see logs. But later it never worked. shows python command not found. Cyclic.sh should provide template like nodejs

PS: and yeah you should run bot on some port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants