bot.send_message(message.chat.id, "Добро пожаловать, {0.first_name}!\nЯ - {1.first_name}, бот созданный для умножения твоих денег.".format(message.from_user, bot.get_me()),
parse_mode='html', reply_markup=markup)
@bot.message_handler(content_types=['text'])
def lalala(message):
if message.chat.type == "private":
if message.text == 'Пополнить':
bot.send_message(message.chat.id, 'Отправьте gg)
bot.polling(none_stop=True)
и вот ошибка из консоли pythonanywhere
Traceback (most recent call last):
File "/home/mictor2/bot/bot.py", line 3, in
import telebot
File "/home/mictor2/.local/lib/python2.7/site-packages/telebot/__init__.py", line 23, in
from telebot import apihelper, types, util
File "/home/mictor2/.local/lib/python2.7/site-packages/telebot/apihelper.py", line 18, in
from telebot import types
File "/home/mictor2/.local/lib/python2.7/site-packages/telebot/types.py", line 829
def add(self, *args, row_width=None):
^
SyntaxError: invalid syntax
>>>