mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Bump version to 4.7.1
This commit is contained in:
parent
31c3a2b2a3
commit
623d8b27ec
@ -22,7 +22,7 @@ copyright = '2022, coder2020official'
|
|||||||
author = 'coder2020official'
|
author = 'coder2020official'
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = '4.7.0'
|
release = '4.7.1'
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
@ -24,5 +24,5 @@ async def echo_message(message):
|
|||||||
|
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
# only new versions(4.7.0+)
|
# only for versions 4.7.0+
|
||||||
asyncio.run(bot.polling(restart_on_change=True))
|
asyncio.run(bot.polling(restart_on_change=True))
|
||||||
|
@ -24,5 +24,5 @@ I am here to echo your kind words back to you. Just say anything nice and I'll s
|
|||||||
def echo_message(message):
|
def echo_message(message):
|
||||||
bot.reply_to(message, message.text)
|
bot.reply_to(message, message.text)
|
||||||
|
|
||||||
# only versions greater than 4.7.0
|
# only for versions 4.7.0+
|
||||||
bot.infinity_polling(restart_on_change=True)
|
bot.infinity_polling(restart_on_change=True)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Versions should comply with PEP440.
|
# Versions should comply with PEP440.
|
||||||
# This line is parsed in setup.py:
|
# This line is parsed in setup.py:
|
||||||
__version__ = '4.7.0'
|
__version__ = '4.7.1'
|
||||||
|
Loading…
Reference in New Issue
Block a user