mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
Attempt pre-connection
This commit is contained in:
parent
342967352a
commit
dd09221a31
@ -13,7 +13,6 @@ import time
|
|||||||
@sopel.module.event('001')
|
@sopel.module.event('001')
|
||||||
@sopel.module.rule('.*')
|
@sopel.module.rule('.*')
|
||||||
def bot_startup_connection(bot, trigger):
|
def bot_startup_connection(bot, trigger):
|
||||||
bot_events_trigger(bot, 1001, "Welcome to the SpiceBot Events System")
|
|
||||||
|
|
||||||
if bot_events_check(bot, '1004'):
|
if bot_events_check(bot, '1004'):
|
||||||
return
|
return
|
||||||
|
|||||||
@ -16,6 +16,7 @@ def setup(bot):
|
|||||||
bot_logging(bot, 'SpiceBot_Events', "Starting setup procedure.")
|
bot_logging(bot, 'SpiceBot_Events', "Starting setup procedure.")
|
||||||
bot_events_setup_check(bot)
|
bot_events_setup_check(bot)
|
||||||
bot_events_startup_register(bot, ['1001', '1002', '1003', '1004'])
|
bot_events_startup_register(bot, ['1001', '1002', '1003', '1004'])
|
||||||
|
bot_events_trigger(bot, 1001, "Welcome to the SpiceBot Events System")
|
||||||
|
|
||||||
|
|
||||||
def shutdown(bot):
|
def shutdown(bot):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user