From 228f5103cff2f26ce7c9b56d38ddc9b00ee8b0c0 Mon Sep 17 00:00:00 2001 From: Davte Date: Thu, 8 Nov 2018 15:00:59 +0100 Subject: [PATCH] `self.get_me`, not `get_me` --- davtelepot/__init__.py | 2 +- davtelepot/custombot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 1e7dd24..39460df 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -2,7 +2,7 @@ __author__ = "Davide Testa" __email__ = "davte@libero.it" __credits__ = "Marco Origlia" __license__ = "GNU General Public License v3.0" -__version__ = "1.3.0" +__version__ = "1.3.1" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/custombot.py b/davtelepot/custombot.py index c7567e8..6e7a57a 100644 --- a/davtelepot/custombot.py +++ b/davtelepot/custombot.py @@ -1658,7 +1658,7 @@ class Bot(telepot.aio.Bot, Gettable): awaits preliminary tasks and starts getting updates from telegram. If bot can't be got, restarts all bots in 5 minutes. """ - await get_me() + await self.get_me() for task in self.run_before_loop: await task self.set_default_keyboard()