mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
20 lines
496 B
Python
20 lines
496 B
Python
# 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")
|