From a22708421dce9d455878ad4c96f7bec023edc7fe Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 25 May 2016 01:31:34 +0200 Subject: [PATCH] Change !info message format --- infobot.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/infobot.py b/infobot.py index c7b0fac..8c9774c 100644 --- a/infobot.py +++ b/infobot.py @@ -96,15 +96,8 @@ class InfoBot(yaboli.Bot): bots = len(self.room.get_bots()) lurkers = len(self.room.get_lurkers()) - msg = "people: {}\n with accounts: {}\nbots: {}\nlurkers: {}\n\ntotal: {}\ntotal visible: {}" - msg = msg.format( - people, - accounts, - bots, - lurkers, - people + bots + lurkers, - people + bots - ) + msg = "people: {} (with accounts: {})\nbots: {}\nlurkers: {}\ntotal: {}" + msg = msg.format(people, accounts, bots, lurkers, people + bots + lurkers) self.room.send_message(msg, message.id)