From 16db9ec0098cb7b1b41d7eb9a512873b8f8ca679 Mon Sep 17 00:00:00 2001 From: Benjamin Schmid Date: Sat, 28 Mar 2020 22:25:29 +0100 Subject: [PATCH] use join --- src/werewolve-bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/werewolve-bot.py b/src/werewolve-bot.py index e32c6b1..405b726 100644 --- a/src/werewolve-bot.py +++ b/src/werewolve-bot.py @@ -294,7 +294,7 @@ class one_night: raise ValueError("Invalid number of roles: " + str(len(self.role_list)) + " with " + str(len(self.player_list)) + " players") # send confirmation - await self.send("Roles: " + str([r.name() for r in self.role_list])) + await self.send("Roles: " + ", ".join(r.name() for r in self.role_list)) def distribute_roles(self):