diff --git a/sopel_modules/SpiceBot/setup.py b/sopel_modules/SpiceBot/setup.py index 6931b3a..93938fb 100644 --- a/sopel_modules/SpiceBot/setup.py +++ b/sopel_modules/SpiceBot/setup.py @@ -52,4 +52,4 @@ def setup(bot): botconfig.define_section("SpiceBot_Update", SpiceBot_Update_MainSection, validate=False) logs.log('SpiceBot_StartupMonologue', "Initial Setup processing") - events.startup_add([events.BOT_STARTUPMONOLOGUE_CHANNELS, events.BOT_STARTUPMONOLOGUE_COMMANDSQUERY, events.BOT_STARTUPMONOLOGUE_CONNECTED]) + events.startup_add([events.BOT_STARTUPMONOLOGUE_CHANNELS, events.BOT_STARTUPMONOLOGUE_COMMANDS, events.BOT_STARTUPMONOLOGUE_CONNECTED]) diff --git a/sopel_modules/SpiceBot_Core_Processing/Modules.py b/sopel_modules/SpiceBot_Core_Processing/Modules.py index 62121db..81b22d2 100644 --- a/sopel_modules/SpiceBot_Core_Processing/Modules.py +++ b/sopel_modules/SpiceBot_Core_Processing/Modules.py @@ -8,7 +8,7 @@ import sopel import sopel_modules.SpiceBot as SpiceBot -@sopel.module.event(SpiceBot.events.BOT_LOADED) +@sopel.module.event(SpiceBot.events.BOT_READY) @sopel.module.rule('.*') def bot_events_complete(bot, trigger): diff --git a/sopel_modules/SpiceBot_Core_Processing/StartupMonologue.py b/sopel_modules/SpiceBot_Core_Processing/StartupMonologue.py index 185f8af..addfd3f 100644 --- a/sopel_modules/SpiceBot_Core_Processing/StartupMonologue.py +++ b/sopel_modules/SpiceBot_Core_Processing/StartupMonologue.py @@ -40,7 +40,7 @@ def bot_startup_monologue_commands(bot, trigger): displayval = "There are " + str(availablecomsnum) + " commands available in " + str(availablecomsfiles) + " files." SpiceBot.startupmonologue.dict["commands"] = displayval SpiceBot.logs.log('SpiceBot_StartupMonologue', displayval) - SpiceBot.events.trigger(bot, SpiceBot.events.BOT_STARTUPMONOLOGUE_COMMANDSQUERY, "SpiceBot_StartupMonologue") + SpiceBot.events.trigger(bot, SpiceBot.events.BOT_STARTUPMONOLOGUE_COMMANDS, "SpiceBot_StartupMonologue") @sopel.module.event(SpiceBot.events.BOT_LOADED)