Use the new IRCContext.send API instead of break_long_message
This commit is contained in:
parent
4a02943a6e
commit
1b695b4849
@ -175,8 +175,7 @@ def connect_callback():
|
||||
|
||||
players = db.get_pre_restart_state()
|
||||
if players:
|
||||
msg = "PING! " + break_long_message(players).replace("\n", "\nPING! ")
|
||||
channels.Main.send(msg)
|
||||
channels.Main.send(*players, first="PING! ")
|
||||
channels.Main.send(messages["game_restart_cancel"])
|
||||
|
||||
events.remove_listener("who_end", who_end)
|
||||
|
Loading…
Reference in New Issue
Block a user