-
Notifications
You must be signed in to change notification settings - Fork 12
Commands
Bhargav Rao edited this page Oct 1, 2016
·
7 revisions
help - Returns the information regarding the chatbot
commands - Returns the list of commands associated with this bot
alive - Returns a test reply to inform that the bot is alive
check - Checks the sanity of a given post
addsalute - Adds a given statement to the list of salutations
whitelist - Adds a given statement to the list of whitelisted words
blacklist - Adds a given statement to the list of blacklisted words
iswhitelisted - Checks if the given statement is whitelisted
isblacklisted - Checks if the given statement is blacklisted
opt-in - Notifies the user of the posts that he has opted in
opt-out - Unlists the user from notifications
The command to opt-in
for a tag needs three arguments. They are the tag, the type of the post and whether to notify when the user is inside the room or not. The third argument defaults to notifying the user only when they are inside room.
E.g:
-
@NATOBot opt-in [python] all
: This notifies the user of all the posts in NATO tagged python, only when they are present in the room. -
@NATOBot opt-in [python] naa
: This notifies the user of all the posts that are identified as NAA by the bot and tagged python, only when they are present in the room. -
@NATOBot opt-in [python] all always
: This notifies the user of all the posts in NATO tagged python, whether the user is present in the room, or not. -
@NATOBot opt-in [python] naa always
: This notifies the user of all the posts that are identified as NAA by the bot and tagged python, whether the user is present in the room, or not. -
@NATOBot opt-in all naa
: This notifies the user of all the posts that are identified as NAA by the bot only when they are present in the room. -
@NATOBot opt-in all all always
: This notifies the user of all the posts in NATO, whether the user is present in the room, or not.
Brought to you by team SOBotics.