Change name format
This commit is contained in:
parent
89dbed8aee
commit
13e7fe378e
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue