# coding=utf-8 from __future__ import unicode_literals, absolute_import, division, print_function import sopel.module from sopel_modules.SpiceBot_SBTools import bot_logging from .LoadOrder import set_bot_event, check_bot_startup @sopel.module.event('001') @sopel.module.rule('.*') def bot_startup_complete(bot, trigger): while not check_bot_startup(bot): pass set_bot_event(bot, "startup_complete") bot_logging(bot, 'Sopel_LoadOrder', "Module Events Logging Complete")