Open vrlps opened 2 years ago
Привет, в файле main.py замените содержимое на следующее
from telegram.ext import Updater
from handlers import setup_dispatcher
from settings import TELEGRAM_TOKEN, HEROKU_APP_NAME, PORT
# Setup bot handlers
updater = Updater(TELEGRAM_TOKEN)
dp = updater.dispatcher
dp = setup_dispatcher(dp)
# Run bot
print('Bot has started!')
updater.start_polling()
updater.idle()
Can you tell me how to deploy this bot on a private server? For example a VPS or a home Raspberry Pi.
Если можно, ответьте на на русском:)