-
Notifications
You must be signed in to change notification settings - Fork 8
Commands
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. -
test post <post id>
: This is the same ascheck post
, just that this doesn't report if the post even matches the filters.
#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. -
membership <type>
: Prints all the privileged users in the type specified. If the type is omitted, the bot prints the users in all groups. -
check threshold
: Prints the current threshold.
#Privileges Handling Commands
-
privilege user <user id>
: Adds a user to the privilege list. -
unprivilege user <user id>
: 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.
#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. -
opt out
: Undoes an opt-in. -
notifyme
: After this, you will get pings for reports all the time, even when you are not in the room. -
unnotifyme
: Undoes the commandnotifyme
. -
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.
#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. -
change threshold <number>
: Changes the threshold to the specified number.
#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.