Use davtelepot suggestions module
This commit is contained in:
parent
df32a6c8e7
commit
5f00ba269e
@ -3,7 +3,7 @@
|
||||
__author__ = "Davide Testa"
|
||||
__email__ = "davide@davte.it"
|
||||
__license__ = "GNU General Public License v3.0"
|
||||
__version__ = "1.1.5"
|
||||
__version__ = "1.1.6"
|
||||
__maintainer__ = "Davide Testa"
|
||||
__contact__ = "t.me/davte"
|
||||
|
||||
|
@ -7,7 +7,6 @@ import sys
|
||||
|
||||
# Third party modules
|
||||
import davtelepot
|
||||
from davtelepot import administration_tools, authorization, languages
|
||||
|
||||
# Project modules
|
||||
from . import ciclopi
|
||||
@ -85,16 +84,17 @@ if __name__ == '__main__':
|
||||
),
|
||||
['telegram_id']
|
||||
)
|
||||
administration_tools.init(bot)
|
||||
davtelepot.administration_tools.init(bot)
|
||||
ciclopi.init(bot)
|
||||
helper.init(
|
||||
bot=bot,
|
||||
)
|
||||
authorization.init(bot)
|
||||
languages.init(
|
||||
davtelepot.authorization.init(bot)
|
||||
davtelepot.languages.init(
|
||||
bot, language_messages=language_messages,
|
||||
supported_languages=supported_languages
|
||||
)
|
||||
davtelepot.suggestions.init(bot)
|
||||
# Run bot(s)
|
||||
logging.info("Press ctrl+C to exit.")
|
||||
exit_state = davtelepot.bot.Bot.run(
|
||||
|
Loading…
x
Reference in New Issue
Block a user