Adapt to yaboli update
This commit is contained in:
parent
514f9feecc
commit
a4f9142504
1 changed files with 5 additions and 5 deletions
10
infobot.py
10
infobot.py
|
|
@ -39,12 +39,12 @@ class InfoBot(yaboli.Bot):
|
||||||
"Displays information about the clients in a room in its nick:\n"
|
"Displays information about the clients in a room in its nick:\n"
|
||||||
"(<people>P <bots>B <lurkers>L <bot-lurkers>N)\n"
|
"(<people>P <bots>B <lurkers>L <bot-lurkers>N)\n"
|
||||||
"\n"
|
"\n"
|
||||||
"!recount @{nick} - Recount people in the room\n"
|
"!recount {nick} - Recount people in the room\n"
|
||||||
"!detail @{nick} - Detailed list of clients in this room\n"
|
"!detail {nick} - Detailed list of clients in this room\n"
|
||||||
"!hosts @{nick} [--mention] - Lists all hosts currently in this room\n"
|
"!hosts {nick} [--mention] - Lists all hosts currently in this room\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Created by @Garmy using https://github.com/Garmelon/yaboli.\n"
|
"Created by @Garmy using https://github.com/Garmelon/yaboli.\n"
|
||||||
"For additional info, try \"!help @{nick} <topic>\". Topics:\n"
|
"For additional info, try \"!help {nick} <topic>\". Topics:\n"
|
||||||
" count, lurkers, changelog"
|
" count, lurkers, changelog"
|
||||||
).format(nick=nick)
|
).format(nick=nick)
|
||||||
await room.send(text, message.mid)
|
await room.send(text, message.mid)
|
||||||
|
|
@ -60,7 +60,7 @@ class InfoBot(yaboli.Bot):
|
||||||
" the number of nicks on the nick list, similar to the number on the"
|
" the number of nicks on the nick list, similar to the number on the"
|
||||||
" button to toggle the nick list.\n"
|
" button to toggle the nick list.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"If the bot's count is off, try a !recount or a !restart @{nick}."
|
"If the bot's count is off, try a !recount or a !restart {nick}."
|
||||||
).format(nick=nick)
|
).format(nick=nick)
|
||||||
elif topic == "lurkers":
|
elif topic == "lurkers":
|
||||||
text = (
|
text = (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue