From 3141d44465ee1c20a321c90033150c03e7a3c2cc Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 5 May 2019 20:11:25 -0400 Subject: [PATCH] pre-connection does not work --- sopel_modules/SpiceBot_Events/Events.py | 1 + sopel_modules/SpiceBot_Events/System.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot_Events/Events.py b/sopel_modules/SpiceBot_Events/Events.py index 32c2575..a01caf9 100644 --- a/sopel_modules/SpiceBot_Events/Events.py +++ b/sopel_modules/SpiceBot_Events/Events.py @@ -13,6 +13,7 @@ import time @sopel.module.event('001') @sopel.module.rule('.*') def bot_startup_connection(bot, trigger): + bot_events_trigger(bot, 1001, "Welcome to the SpiceBot Events System") if bot_events_check(bot, '1004'): return diff --git a/sopel_modules/SpiceBot_Events/System.py b/sopel_modules/SpiceBot_Events/System.py index 9bbef62..da5723d 100644 --- a/sopel_modules/SpiceBot_Events/System.py +++ b/sopel_modules/SpiceBot_Events/System.py @@ -16,7 +16,6 @@ def setup(bot): bot_logging(bot, 'SpiceBot_Events', "Starting setup procedure.") bot_events_setup_check(bot) bot_events_startup_register(bot, ['1001', '1002', '1003']) - bot_events_trigger(bot, 1001, "Welcome to the SpiceBot Events System") def shutdown(bot):