mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -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)
|
bot_events_setup_check(bot)
|
||||||
|
|
||||||
|
notcomplete = []
|
||||||
|
|
||||||
for startupitem in bot.memory["SpiceBot_Events"]["startup"]:
|
for startupitem in bot.memory["SpiceBot_Events"]["startup"]:
|
||||||
if str(startupitem) not in bot.memory["SpiceBot_Events"]["loaded"]:
|
if str(startupitem) not in bot.memory["SpiceBot_Events"]["loaded"]:
|
||||||
bot_logging(bot, 'SpiceBot_Events', str(startupitem))
|
notcomplete.append(str(startupitem))
|
||||||
return False
|
|
||||||
|
|
||||||
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