Really fix pre_restart_state (for real this time)
This commit is contained in:
parent
45930c3ffd
commit
3fcfa83c43
@ -218,7 +218,7 @@ def connect_callback(cli):
|
|||||||
# If the bot was restarted in the middle of the join phase, ping players that were joined.
|
# If the bot was restarted in the middle of the join phase, ping players that were joined.
|
||||||
players = db.get_pre_restart_state()
|
players = db.get_pre_restart_state()
|
||||||
if players:
|
if players:
|
||||||
msg = "PING! " + break_long_message(players.split()).replace("\n", "\nPING! ")
|
msg = "PING! " + break_long_message(players).replace("\n", "\nPING! ")
|
||||||
cli.msg(botconfig.CHANNEL, msg)
|
cli.msg(botconfig.CHANNEL, msg)
|
||||||
|
|
||||||
# Unhook the WHO hooks
|
# Unhook the WHO hooks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user