def run_vk_bot(): """ Run vk bot """ logger.info('Attempt to start vk bot.') vk_bot = VkBot() vk_bot.start()
def main(): bot = VkBot(config.token, config.group_id) bot.start()