From 2cb5915ff926348df31ff0773c4f4fcf97b2c10e Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 18 May 2019 19:57:14 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Events/Events.py | 2 +- .../SpiceBot_StartupMonologue/StartupMonologue_Display.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Events/Events.py b/sopel_modules/SpiceBot_Events/Events.py index 43eb1d7..d5ed089 100644 --- a/sopel_modules/SpiceBot_Events/Events.py +++ b/sopel_modules/SpiceBot_Events/Events.py @@ -35,7 +35,7 @@ def bot_events_start(bot, trigger): @sopel.module.rule('.*') def bot_startup_connection(bot, trigger): """Here, we wait until we are in at least one channel""" - while not len(bot.channels.keys()) and not botevents.check([botevents.BOT_CHANNELS]): + while not len(bot.channels.keys()): pass time.sleep(1) botevents.trigger(bot, botevents.BOT_CONNECTED, "Bot Connected to IRC") diff --git a/sopel_modules/SpiceBot_StartupMonologue/StartupMonologue_Display.py b/sopel_modules/SpiceBot_StartupMonologue/StartupMonologue_Display.py index e6c71bb..323edf7 100644 --- a/sopel_modules/SpiceBot_StartupMonologue/StartupMonologue_Display.py +++ b/sopel_modules/SpiceBot_StartupMonologue/StartupMonologue_Display.py @@ -17,7 +17,7 @@ import time def bot_startup_monologue_start(bot, trigger): # Startup - botlogs.log('SpiceBot_StartupMonologue', bot.nick + " is now starting. Please wait while I load my configuration") + botlogs.log('SpiceBot_StartupMonologue', bot.nick + " is now starting. Please wait while I load my configuration", True) bot.osd(" is now starting. Please wait while I load my configuration.", bot.channels.keys(), 'ACTION') botevents.trigger(bot, botevents.BOT_STARTUPMONOLOGUE_CONNECTED, "SpiceBot_StartupMonologue")