mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
better Log
This commit is contained in:
parent
68165e5c2f
commit
49ca4eba63
@ -73,9 +73,14 @@ def bot_events_startup_check(bot):
|
||||
|
||||
bot_events_setup_check(bot)
|
||||
|
||||
notcomplete = []
|
||||
|
||||
for startupitem in bot.memory["SpiceBot_Events"]["startup"]:
|
||||
if str(startupitem) not in bot.memory["SpiceBot_Events"]["loaded"]:
|
||||
bot_logging(bot, 'SpiceBot_Events', str(startupitem))
|
||||
return False
|
||||
notcomplete.append(str(startupitem))
|
||||
|
||||
return True
|
||||
if len(notcomplete):
|
||||
bot_logging(bot, 'SpiceBot_Events', str(notcomplete))
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
Loading…
Reference in New Issue
Block a user