Queer European MD passionate about IT
Parcourir la source

`self.get_me`, not `get_me`

Davte il y a 6 ans
Parent
commit
228f5103cf
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      davtelepot/__init__.py
  2. 1 1
      davtelepot/custombot.py

+ 1 - 1
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"
 

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