From bb9a9f7a9bf26e143515e3456f7d6951da931abd Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Tue, 29 Jan 2019 03:03:45 +0530 Subject: [PATCH] Remove list from join/leave messages --- bot/pipe_in.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bot/pipe_in.py b/bot/pipe_in.py index 7f32480..b23e5d3 100755 --- a/bot/pipe_in.py +++ b/bot/pipe_in.py @@ -16,8 +16,6 @@ for line in sys.stdin: elif re.match(r".*?(\w+ (leaves|joins) game.*)", line): text = "" text += re.sub(r".*?(\w+ (leaves|joins) game\.).*", r"\1", line) - text += "\nList of players: \n" - text += "\n".join(re.sub(r".*?: ", "", line).split(" ")) text += "" parse_mode = "HTML" if text != "":