Print statements removed
This commit is contained in:
parent
85341d7064
commit
920554d465
@ -14,7 +14,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "2.3.5"
|
__version__ = "2.3.6"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -2064,9 +2064,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject):
|
|||||||
"""
|
"""
|
||||||
if type(timeout) is datetime.timedelta:
|
if type(timeout) is datetime.timedelta:
|
||||||
timeout = timeout.total_seconds()
|
timeout = timeout.total_seconds()
|
||||||
print(timeout)
|
|
||||||
await asyncio.sleep(timeout)
|
await asyncio.sleep(timeout)
|
||||||
print("sleep ends")
|
|
||||||
if not self.placeholder_requests[request_id]:
|
if not self.placeholder_requests[request_id]:
|
||||||
if sent_message and text:
|
if sent_message and text:
|
||||||
await self.edit_message_text(
|
await self.edit_message_text(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user