From 2a0eb98b7145d573430e94982ac8e0d78622eb15 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 23 May 2016 19:25:10 +0200 Subject: [PATCH] Change name format --- infobot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infobot.py b/infobot.py index 05a93b3..c152eda 100644 --- a/infobot.py +++ b/infobot.py @@ -10,7 +10,7 @@ class InfoBot(yaboli.Bot): super().__init__(*args, **kwargs) self.bot_description = ("This bot displays information about the clients connected to the\n" - "current room in its nick: (p: , b: , l: )\n" + "current room in its nick: (pbl)\n" "Created by @Garmy using yaboli (Yet Another Bot Library)") self.add_command("info", self.info_command, "Show more detailed info.", @@ -32,7 +32,7 @@ class InfoBot(yaboli.Bot): Change the name to display the correct values. """ - nick = "\001(p: {}, b: {}, l: {})".format( + nick = "\001({}p{}b{}l)".format( len(self.room.get_people()), len(self.room.get_bots()), len(self.room.get_lurkers())