Change name format

This commit is contained in:
Joscha 2016-05-23 20:33:12 +02:00
parent a48b35e54d
commit 324df6ca6a

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: (<people>p<bots>b<lurkers>l)\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())