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()