A
A
A3AMAT2017-10-13 08:59:09
Python
A3AMAT, 2017-10-13 08:59:09

Trouble hosting telegram bot on heroku?

telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 404 Not Found. response body.
The bot works on the local machine. (It seems to me that the token is specified directly in the code) It seems to me that the error is due to the use of config vars on heroku. Used config vars to avoid putting the bot's token on github

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Uno, 2017-10-14
@Noizefan

https://python-scripts.com/import-os-example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question