
__author__ = 'Lises team'
__version__ = '0.1'
__email__ = 'zhidkovseva@gmail.com'


class Sheldon():
    pass


class Plugin():
    pass


class Adapter():
    pass

# Python 2 compatibility
if sys.version_info[0] == 2:
    # Exceptions for bot
    from exceptions import *

    # Tool for loading plugins and adapters
    from modules import *

    # Tool for loading config from project folder
    from config import *
else:
    # Exceptions for bot
    from .exceptions import *

    # Tool for loading plugins and adapters
    from .modules import *

    # Tool for loading config from project folder
    from .config import *


class Sheldon():
    """
    Main class of the bot.
    Run script creating new instance of this class and run it.
    """

    def __init__(self):
        """
        Function for loading bot.

        :return:
        """

        # Creating empty lists for plugins and adapters
        self.plugins = []
        self.adapters = []

    def load_plugins(self):
        """
        Function for collecting and loading plugins from plugins folder.

        :return:
        """


class Plugin():
    pass


class Adapter():
    pass
Update structure of Sheldon class
Update structure of Sheldon class

  
- __author__ = 'Lises team'
- __version__ = '0.1'
- __email__ = 'zhidkovseva@gmail.com'
+ # Python 2 compatibility
+ if sys.version_info[0] == 2:
+     # Exceptions for bot
+     from exceptions import *
+ 
+     # Tool for loading plugins and adapters
+     from modules import *
+ 
+     # Tool for loading config from project folder
+     from config import *
+ else:
+     # Exceptions for bot
+     from .exceptions import *
+ 
+     # Tool for loading plugins and adapters
+     from .modules import *
+ 
+     # Tool for loading config from project folder
+     from .config import *
  
  
  class Sheldon():
-     pass
+     """
+     Main class of the bot.
+     Run script creating new instance of this class and run it.
+     """
+ 
+     def __init__(self):
+         """
+         Function for loading bot.
+ 
+         :return:
+         """
+ 
+         # Creating empty lists for plugins and adapters
+         self.plugins = []
+         self.adapters = []
+ 
+     def load_plugins(self):
+         """
+         Function for collecting and loading plugins from plugins folder.
+ 
+         :return:
+         """
  
  
  class Plugin():
      pass
  
  
  class Adapter():
      pass
Update structure of Sheldon class
## Code Before:

__author__ = 'Lises team'
__version__ = '0.1'
__email__ = 'zhidkovseva@gmail.com'


class Sheldon():
    pass


class Plugin():
    pass


class Adapter():
    pass
## Instruction:
Update structure of Sheldon class
## Code After:

# Python 2 compatibility
if sys.version_info[0] == 2:
    # Exceptions for bot
    from exceptions import *

    # Tool for loading plugins and adapters
    from modules import *

    # Tool for loading config from project folder
    from config import *
else:
    # Exceptions for bot
    from .exceptions import *

    # Tool for loading plugins and adapters
    from .modules import *

    # Tool for loading config from project folder
    from .config import *


class Sheldon():
    """
    Main class of the bot.
    Run script creating new instance of this class and run it.
    """

    def __init__(self):
        """
        Function for loading bot.

        :return:
        """

        # Creating empty lists for plugins and adapters
        self.plugins = []
        self.adapters = []

    def load_plugins(self):
        """
        Function for collecting and loading plugins from plugins folder.

        :return:
        """


class Plugin():
    pass


class Adapter():
    pass