mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
pre-connection does not work
This commit is contained in:
parent
fe58594a27
commit
3141d44465
@ -13,6 +13,7 @@ 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,7 +16,6 @@ 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'])
|
bot_events_startup_register(bot, ['1001', '1002', '1003'])
|
||||||
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