telepot-powered functions replaced with new ones
telepot repository was archived in may 2019
This commit is contained in:
@@ -5,10 +5,11 @@ See custombot.py for information about Bot class.
|
||||
|
||||
__author__ = "Davide Testa"
|
||||
__email__ = "davide@davte.it"
|
||||
__credits__ = "Marco Origlia"
|
||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||
__license__ = "GNU General Public License v3.0"
|
||||
__version__ = "1.5.9"
|
||||
__version__ = "2.0"
|
||||
__maintainer__ = "Davide Testa"
|
||||
__contact__ = "t.me/davte"
|
||||
|
||||
# Legacy module; please use `from davtelepot.bot import Bot` from now on
|
||||
from davtelepot.custombot import Bot
|
||||
|
@@ -1,4 +1,12 @@
|
||||
"""Subclass of third party telepot.aio.Bot, providing the following features.
|
||||
"""WARNING: this is only a legacy module.
|
||||
|
||||
For newer versions use `bot.py`.
|
||||
This module relies on third party `telepot` library by Nick Lee (@Nickoala).
|
||||
The `telepot` repository was archived in may 2019 and will no longer be listed
|
||||
in requirements. For legacy code, install telepot manually.
|
||||
`pip install telepot`
|
||||
|
||||
Subclass of third party telepot.aio.Bot, providing the following features.
|
||||
|
||||
- It prevents hitting Telegram flood limits by waiting
|
||||
between text and photo messages.
|
||||
|
@@ -698,7 +698,7 @@ class Confirmable():
|
||||
|
||||
|
||||
class HasBot():
|
||||
"""Objects having a telepot.Bot subclass object as `.bot` attribute.
|
||||
"""Objects having a Bot subclass object as `.bot` attribute.
|
||||
|
||||
HasBot objects have a .bot and .db properties for faster access.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user