This commit is contained in:
deathbybandaid 2019-05-18 20:33:26 -04:00
parent be30e99e6f
commit ec82e60d2c

View File

@ -12,10 +12,14 @@ from sopel_modules.SpiceBot_SBTools import humanized_time
import time
@sopel.module.event(botevents.BOT_CONNECTED)
@sopel.module.event(botevents.BOT_WELCOME)
@sopel.module.rule('.*')
def bot_startup_monologue_start(bot, trigger):
while not len(bot.channels.keys()):
pass
time.sleep(1)
# Startup
botlogs.log('SpiceBot_StartupMonologue', bot.nick + " is now starting. Please wait while I load my configuration")
bot.osd(" is now starting. Please wait while I load my configuration.", bot.channels.keys(), 'ACTION')