-
Notifications
You must be signed in to change notification settings - Fork 12
Commands
Bhargav Rao edited this page Oct 6, 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
rmblacklist - Removes the given statement from blacklist
rmwhitelist - Removes the given statement from whitelist
opt-in - Notifies the user of the requested posts
opt-out - Unlists the user from notifications
remind - Adds a remainder to the list of requests
showreqs - Shows the list of requests
rmreq - Removes the request from the list of requests
quota - Returns the remaining API Qouta
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.
The opt-out
command unlists the users only when the arguments are the same as those provided when they opted in.
Brought to you by team SOBotics.