self.get_me
, not get_me
This commit is contained in:
parent
b308e7f335
commit
228f5103cf
@ -2,7 +2,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davte@libero.it"
|
__email__ = "davte@libero.it"
|
||||||
__credits__ = "Marco Origlia"
|
__credits__ = "Marco Origlia"
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.3.1"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -1658,7 +1658,7 @@ class Bot(telepot.aio.Bot, Gettable):
|
|||||||
awaits preliminary tasks and starts getting updates from telegram.
|
awaits preliminary tasks and starts getting updates from telegram.
|
||||||
If bot can't be got, restarts all bots in 5 minutes.
|
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:
|
for task in self.run_before_loop:
|
||||||
await task
|
await task
|
||||||
self.set_default_keyboard()
|
self.set_default_keyboard()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user