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:
commit
d5c1601bf0
@ -85,6 +85,12 @@ tb = telebot.TeleBot(TOKEN, False)
|
|||||||
# 4 Thread worker for message listener.
|
# 4 Thread worker for message listener.
|
||||||
tb = telebot.TeleBot(TOKEN, True, 4)
|
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
|
# getMe
|
||||||
user = tb.get_me()
|
user = tb.get_me()
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -2,7 +2,7 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(name='pyTelegramBotAPI',
|
setup(name='pyTelegramBotAPI',
|
||||||
version='0.2.6',
|
version='0.2.7',
|
||||||
description='Python Telegram bot api. ',
|
description='Python Telegram bot api. ',
|
||||||
author='eternnoir',
|
author='eternnoir',
|
||||||
author_email='eternnoir@gmail.com',
|
author_email='eternnoir@gmail.com',
|
||||||
|
Loading…
Reference in New Issue
Block a user