Put !fquit message on a single line

This commit is contained in:
Janik Kleinhoff 2014-09-04 01:00:58 +02:00
parent 59c9d5df14
commit 9b9f35487b

View File

@ -569,15 +569,17 @@ def fleave(cli, nick, chann_, rest):
else:
cli.msg(chan, nick+": That person is not playing.")
return
cli.msg(chan, ("\u0002{0}\u0002 is forcing"+
" \u0002{1}\u0002 to leave.").format(nick, a))
message = "\u0002{0}\u0002 is forcing \u0002{1}\u0002 to leave.".format(nick, a)
if var.ROLE_REVEAL:
cli.msg(chan, "Say goodbye to the \02{0}\02.".format(var.get_reveal_role(a)))
message += " Say goodbye to the \02{0}\02.".format(var.get_reveal_role(a))
if var.PHASE == "join":
cli.msg(chan, ("New player count: \u0002{0}\u0002").format(len(var.list_players()) - 1))
message += " New player count: \u0002{0}\u0002".format(len(var.list_players()) - 1)
if var.PHASE in ("day", "night"):
var.LOGGER.logMessage("{0} is forcing {1} to leave.".format(nick, a))
var.LOGGER.logMessage("Say goodbye to the {0}".format(var.get_reveal_role(a)))
cli.msg(chan, message)
del_player(cli, a, death_triggers = False)