':param bot:
:type bot: pokemongo_bot.PokemonGoBot
:param config:
:return:'

def __init__(self, bot, config):

    self.bot = bot
    self.config = config
    self._validate_work_exists()
    self.logger = logging.getLogger(type(self).__name__)
    self.enabled = config.get('enabled', True)
    self.last_log_time = time.time()
    self.initialize()
