Change name format

This commit is contained in:
Joscha 2016-05-23 19:25:10 +02:00
parent 206d7053ad
commit 2a0eb98b71

View file

@ -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: <people>, b: <bots>, l: <lurkers>)\n"
"current room in its nick: (<people>p<bots>b<lurkers>l)\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())