mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
welcome
This commit is contained in:
parent
be30e99e6f
commit
ec82e60d2c
@ -12,10 +12,14 @@ from sopel_modules.SpiceBot_SBTools import humanized_time
|
||||
import time
|
||||
|
||||
|
||||
@sopel.module.event(botevents.BOT_CONNECTED)
|
||||
@sopel.module.event(botevents.BOT_WELCOME)
|
||||
@sopel.module.rule('.*')
|
||||
def bot_startup_monologue_start(bot, trigger):
|
||||
|
||||
while not len(bot.channels.keys()):
|
||||
pass
|
||||
time.sleep(1)
|
||||
|
||||
# Startup
|
||||
botlogs.log('SpiceBot_StartupMonologue', bot.nick + " is now starting. Please wait while I load my configuration")
|
||||
bot.osd(" is now starting. Please wait while I load my configuration.", bot.channels.keys(), 'ACTION')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user