1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge branch 'master' into develop

This commit is contained in:
eternnoir 2015-07-26 20:15:51 +08:00
commit d5c1601bf0
2 changed files with 7 additions and 1 deletions

View File

@ -85,6 +85,12 @@ tb = telebot.TeleBot(TOKEN, False)
# 4 Thread worker for message listener.
tb = telebot.TeleBot(TOKEN, True, 4)
# Setup telebot handler to telebot logger. If you want to get some information from telebot.
# More information at Logging section
handler = logging.StreamHandler(sys.stdout)
telebot.logger.addHandler(handler)
telebot.logger.setLevel(logging.INFO)
# getMe
user = tb.get_me()

View File

@ -2,7 +2,7 @@
from setuptools import setup
setup(name='pyTelegramBotAPI',
version='0.2.6',
version='0.2.7',
description='Python Telegram bot api. ',
author='eternnoir',
author_email='eternnoir@gmail.com',