Change !info message format
This commit is contained in:
parent
802786544f
commit
a22708421d
1 changed files with 2 additions and 9 deletions
11
infobot.py
11
infobot.py
|
|
@ -96,15 +96,8 @@ class InfoBot(yaboli.Bot):
|
||||||
bots = len(self.room.get_bots())
|
bots = len(self.room.get_bots())
|
||||||
lurkers = len(self.room.get_lurkers())
|
lurkers = len(self.room.get_lurkers())
|
||||||
|
|
||||||
msg = "people: {}\n with accounts: {}\nbots: {}\nlurkers: {}\n\ntotal: {}\ntotal visible: {}"
|
msg = "people: {} (with accounts: {})\nbots: {}\nlurkers: {}\ntotal: {}"
|
||||||
msg = msg.format(
|
msg = msg.format(people, accounts, bots, lurkers, people + bots + lurkers)
|
||||||
people,
|
|
||||||
accounts,
|
|
||||||
bots,
|
|
||||||
lurkers,
|
|
||||||
people + bots + lurkers,
|
|
||||||
people + bots
|
|
||||||
)
|
|
||||||
|
|
||||||
self.room.send_message(msg, message.id)
|
self.room.send_message(msg, message.id)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue