mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 22:20:58 -05:00
quick loads patch
This commit is contained in:
parent
4380aeb6cf
commit
0ce1c8e0e9
@ -51,6 +51,8 @@ def bot_startup_monologue_display(bot, trigger):
|
|||||||
dispmsg.append(SpiceBot.startupmonologue.dict[messagekey])
|
dispmsg.append(SpiceBot.startupmonologue.dict[messagekey])
|
||||||
if SpiceBot.events.dict["RPL_WELCOME_Count"] == 1:
|
if SpiceBot.events.dict["RPL_WELCOME_Count"] == 1:
|
||||||
timesince = SpiceBot.humanized_time(time.time() - SpiceBot.events.BOT_UPTIME)
|
timesince = SpiceBot.humanized_time(time.time() - SpiceBot.events.BOT_UPTIME)
|
||||||
|
if timesince == "just now":
|
||||||
|
timesince = "1 second"
|
||||||
dispmsg.append("Startup took " + timesince)
|
dispmsg.append("Startup took " + timesince)
|
||||||
# Announce to chan, then handle some closing stuff
|
# Announce to chan, then handle some closing stuff
|
||||||
SpiceBot.logs.log('SpiceBot_StartupMonologue', bot.nick + " startup complete")
|
SpiceBot.logs.log('SpiceBot_StartupMonologue', bot.nick + " startup complete")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user