mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
really classy now
This commit is contained in:
parent
4f3909948f
commit
29031582b0
@ -11,6 +11,10 @@ from sopel_modules.SpiceBot.Events import botevents
|
||||
import time
|
||||
|
||||
|
||||
def setup(bot):
|
||||
botlogs.log('SpiceBot_Events', "Starting setup procedure")
|
||||
|
||||
|
||||
@sopel.module.event(botevents.RPL_WELCOME)
|
||||
@sopel.module.rule('.*')
|
||||
def bot_startup_welcome(bot, trigger):
|
||||
|
||||
@ -6,6 +6,13 @@ import sopel.tools
|
||||
import sopel.config
|
||||
|
||||
from sopel_modules.SpiceBot.Logs import botlogs
|
||||
from sopel_modules.SpiceBot.Events import botevents
|
||||
|
||||
|
||||
def setup(bot):
|
||||
botlogs.log('SpiceBot_Logs', "Starting Setup Procedure")
|
||||
botevents.startup_add([botevents.BOT_LOGS])
|
||||
botevents.trigger(bot, botevents.BOT_LOGS, "SpiceBot_Logs")
|
||||
|
||||
|
||||
@sopel.module.event('001')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user