-
Notifications
You must be signed in to change notification settings - Fork 8
CommandsC
This page specifies the commands. At the end, the privileged commands are specified.
#Post Commands
-
tp
: Respond to any report of the bot saying that the question reported needs to be closed. -
fp
: Respond to any report of the bot saying that the question reported does not need to be closed. -
tpr
: Same astp
, just that this replies back to the user confirming that the feedback is recorded. -
fpr
: Same asfp
, just that this replies back to the user confirming that the feedback is recorded. -
check post <post id>
: This checks if the post provided is matching the filters. If it is, it is reported. If it doesn't, the bot replies to the user saying that it doesn't match the filters. -
post info <post id>
: This checks if a post with the id was reported in the last 100 reports. If it was reported, it gives some information of that report.
#Statistical Commands
-
running commands
: This prints the list of all the running commands. -
stats [number]
: This prints the number of True Positives, False Positives and Unconfirmed reports in the number of reports specified. Ifnumber
is omitted, it is assumed to be the number of reports that the bot remembers. -
recent/latest reports <number> <type>
: This prints the number of latest reports specified in details. The type is optional, but is really useful in cases to find some kind of reports. The type you can specify is:true
/true positive
orfalse
/false positive
orunconfirmed
/unknown
. Then it will only give the reports of the type you specified. -
check threshold
: Prints the current threshold.
#Privileges Handling Commands
-
privilege user <user id> <group>
: Adds a user to the privilege list. -
unprivilege user <user id> <group>
: Removes a user from privilege list. -
is privileged <user id>
: Checks if a user is privileged or not. If the user id is omitted, it automatically takes the writer of the message's user id in place. -
amiprivileged
: Checks if the writer of that command is a privileged user or not. -
request privileges <group name>
: Requests privileges for bot owner or member; -
approve privilege request <request number>
: Approves a request, and makes that user a bot owner or member as per the request. -
reject privilege request <request number>
: Rejects a request, and doesn't make the user privileged. -
pending privilege requests
: Prints all the pending privilege requests. -
membership <type>
: Prints all the privileged users in the type specified. If the type is omitted, the bot prints the users in all groups.
#Mode Commands
For exactly getting how the modes work, visit the modes wiki page.
-
mode <enable/disable> <group> <optional item>
: Enables or disables a specific mode. -
check mode
: Prints the current mode.
#Notification Commands
-
opt in
: Once opted-in, you will receive pings for reports whenever you are in the room and if the tag specified is in the report. If the tag is omitted, the bot will ping you for all reports. -
opt out
: Undoes an opt-in with the specified tag. If no tag is provided, it removes all your notifications. -
notifyme
: After this, you will get pings for reports all the time, for reports with the tag specified, even when you are not in the room. If the tag is omitted, you will be notified of all reports. -
unnotifyme
: Undoes the commandnotifyme
with the specified tag. If no tag is provided, it removes all your notifications. -
aminotified
: Checks if you are a notified user. -
is notified <user id>
: Prints whether the user is notified or not. -
notified users
: Prints all the notified users.
#Filter Commands
-
filter modify threshold <new threshold>
: Changes the threshold a post needs to meet to be reported. -
filter add keyword <keyword> <tps> <fps>
: Adds a keyword to the keyword filter with the number of true positives and false positives given. -
filter view keywords
: Prints all the keywords in the current keyword filter. -
filter modify keyword <keyword> <tps> <fps>
: Changes the true positives and false positives of a specific keyword in the filter. -
filter info <filter type> <filter content>
: This prints info of the keyword/tag specified. The filter type will containkeyword
ortag
, while the filter content will contain the name of the tag or keyword.
#Help and Other commands
-
stop
: Saves the bot's data and stops the bot. -
kill
: Immediately stops the bot without saving anything. -
reboot
: Saves data and reboots the bot. -
help
: Gives a short description of the bot. -
alive
: Checks if the bot is alive. -
commands
/command
: Links to this page. -
api quota
: Prints the current api quota.
#Shortcut commands
-
t
: Shortcut oftp
. -
f
: Shortcut offp
. -
tr
: Shortcut oftpr
. -
fr
: Shortcut offpr
. -
cp <post id>
: Shortcut ofcheck post
. -
pinfo <post id>
: Shortcut ofpost info
. -
priv user <user id>
: Shortcut ofprivilege user
. -
unpriv user <user id>
: Shortcut ofunprivilege user
. -
request priv <group name>
: Shortcut ofrequest privileges
. -
approve priv request <request number>
: Shortcut of `approve privilege request. -
reject priv request <request number>
: Shortcut of `reject privilege request. -
pending priv requests
: Shortcut ofpending privilege requests.
#Privileged commands
These commands can be run by users in "members" group:
-
reboot
-
tp
-
fp
-
tpr
-
fpr
These commands can be run by users in "bot owners" group:
-
stop
-
kill
-
change threshold
-
privilege user
-
unprivilege user
-
approve privilege request
-
reject privilege request
-
mode
#Other Notes
-
All the command are NOT case sensitive.
-
Whenever you respond to a report using
tp
orfp
, the feedback gets registered, and the filter auto improves itself using the feedback. So do not play with them. -
The
change threshold
command only keeps the changed threshold till the bot is stopped or rebooted. If you want to change the threshold permanently, contact one of the bot's developers. -
Do not use the command
kill
until and unless the bot is doing some harm. In case of any error, just usestop
. -
If the websocket gets disconnected, just reboot the bot to reconnect the websocket.