Fixed changes for new Telegram Bot lib, bumped to 5.0.0

pull/2/merge
José Carlos Cuevas 8 years ago
parent 18377e0573
commit 51c9d0fd94

@ -9,7 +9,8 @@ import random
from bs4 import BeautifulSoup
from telegram.ext import (Updater, CommandHandler, MessageHandler,
Filters, Job)
Filters)
from telegram.ext.jobqueue import Job
from telegram import ChatAction
from config import config
@ -42,12 +43,11 @@ def start(bot, update):
def help(bot, update):
bot.sendMessage(update.message.chat_id, text="""Astro Beer Bot v1.0:
Para mostrar la APOD actual, escribe /apod y te la mostraré.
Para mostrar la APOD actual, escribe /apod y te la mostraré, con /autoapod la programo para traerla todos los días.
Con /tiempo te diré qué tal se presenta el tiempo esta misma noche.
Si usas /faselunar te diré qué fase lunar tenemos hoy.
Para ver las manchas solares, /manchas te mostrará el sol actualizado.
El comando /estanoche te dirá qué tal están los parámetros de tiempo específicos para
astrónomos esta noche.
El comando /estanoche te dirá qué tal están los parámetros de tiempo específicos para astrónomos esta noche.
""")

@ -1,6 +1,6 @@
beautifulsoup4==4.4.1
certifi==2016.2.28
future==0.15.2
python-telegram-bot==4.3.1
python-telegram-bot==5.0.0
requests==2.10.0
urllib3==1.16

Loading…
Cancel
Save