import telebot
bot = telebot.TeleBot('1')
bot = 'LEE400IQ'
owner = '
@lee400iq'
@bot.message_handler(commands=['start'])
def start_message(message):
bot.send_message(
message.chat.id, '')
@bot.message_handler(content_types=['text'])
def send_text(message):
if message.text == 'Hello':
bot.send_message(
message.chat.id, 'Hello,'+message.from_user.username)
elif message.text == 'Bye Bye!':
bot.send_message(
message.chat.id, 'Bye,'+message.from_user.username)
@bot.message_handler(content_types=['text'])
def send_text(message):
if message.text == 'info':
bot.send_message(
message.chat.id, 'Имя бота:' +bot)
bot.polling()