예제 #1
0
def send_help(message):
    user.search_user(message.from_user)
    bot.reply_to(message, """\
/hola El bot saluda
/juanra El bot muestra a juanra
/instachica El bot muestra una chica aleatoria
/piropo El bot muestra un piropo\
""")
예제 #2
0
def process_name_step(message):
    chat_id = message.chat.id
    nota = int(message.text)

    usuario = message.from_user
    chica = user_dict[chat_id]
    user.guardar_voto(usuario, chica, nota)
    msg = bot.reply_to(message, 'Voto guardado')
예제 #3
0
def send_welcome(message):
    user.search_user(message.from_user)
    bot.reply_to(message, """\
Hola, bienvenido al bot del f*****g master Juanra!\
""")
예제 #4
0
파일: commands.py 프로젝트: Gnzlt/ucobot
def send_welcome(message):
    user.search_user(message.from_user)
    bot.reply_to(message, """\
Hi there, I am EchoBot.
I am here to echo your kind words back to you. Just say anything nice and I'll say the exact same thing to you!\
""")