really classy now

This commit is contained in:
deathbybandaid 2019-05-18 14:33:02 -04:00
parent 4f3909948f
commit 29031582b0
2 changed files with 11 additions and 0 deletions

View File

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

View File

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