Skip to content
Seva Zhidkov edited this page Feb 13, 2016 · 3 revisions

It's a short description of all modules in Leonard core.

Leonard core placed in '/leonard' folder and it's main engine of bot. It's thing that connecting adapters and plugins.

  • adapter.py - classes and functions for connecting bot with adapter.
  • bot.py - main bot file. It connects all core modules and makes it work.
  • config.py - configs of plugins and adapters are in __doc__ so we need some tools for parsing it.
  • db.py - class with functions for working with MongoDB database that used for storing users information
  • exceptions.py - decorators, functions for handling exceptions in bot core and modules.
Clone this wiki locally