Renaming back pytelegrambotapi module to telebot

This commit is contained in:
Waffle
2018-04-28 13:50:59 +03:00
parent 183230e927
commit 3ba9799b98
18 changed files with 102 additions and 102 deletions

View File

@@ -1,11 +1,11 @@
# This is a simple echo bot using the decorator mechanism.
# It echoes any incoming text messages.
import pytelegrambotapi
import telebot
API_TOKEN = '<api_token>'
bot = pytelegrambotapi.TeleBot(API_TOKEN)
bot = telebot.TeleBot(API_TOKEN)
# Handle '/start' and '/help'
@bot.message_handler(commands=['help', 'start'])