Patch for custombot

This commit is contained in:
Davte 2019-08-04 17:57:02 +02:00
parent 6f45b906ff
commit 5fb28a5c7a
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ __author__ = "Davide Testa"
__email__ = "davide@davte.it"
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
__license__ = "GNU General Public License v3.0"
__version__ = "2.2.2"
__version__ = "2.2.3"
__maintainer__ = "Davide Testa"
__contact__ = "t.me/davte"

View File

@ -78,6 +78,8 @@ class Bot(davtelepot.bot.Bot):
database_url=db_name,
**kwargs
)
self.messages['commands'] = dict()
self.messages['reply_keyboard_buttons'] = dict()
self.message_handlers['pinned_message'] = self.handle_pinned_message
self.message_handlers['photo'] = self.handle_photo_message
self.message_handlers['location'] = self.handle_location