pre-connection does not work

This commit is contained in:
deathbybandaid 2019-05-05 20:11:25 -04:00
parent fe58594a27
commit 3141d44465
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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):