mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
16 lines
525 B
Python
16 lines
525 B
Python
# coding=utf-8
|
|
|
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
|
|
|
import sopel.module
|
|
|
|
import sopel_modules.SpiceBot as SpiceBot
|
|
|
|
|
|
@SpiceBot.botevents.startup_check_ready()
|
|
@sopel.module.event(SpiceBot.botevents.BOT_READY)
|
|
@sopel.module.rule('.*')
|
|
def bot_events_startup_complete(bot, trigger):
|
|
"""All events registered as required for startup have completed"""
|
|
SpiceBot.botevents.trigger(bot, SpiceBot.botevents.BOT_LOADED, "All registered modules setup procedures have completed")
|