Skip to content

A bot designed to seek out and provide feedback about potentially bad reviews.

License

Notifications You must be signed in to change notification settings

SOBotics/SpotDetector

Repository files navigation

SpotDetector

About

build GitHub

A bot designed to seek out and provide feedback about potentially bad reviews.

Check it out

SpotDetector is currently inactive

You can find it in the SOBotics Room running under the user SpotDetector.

Post Timelines

The bot has a built-in parser for post timelines:

Field Type Description
deletions Record<string, DeletionEvent> deletion events
reviews Record<string, ReviewEvent> review events
undeletions Record<string, UndeletionEvent> undeletion events
userId string post author id

Events

Each event type is a record of events keyed on event ids.

Deletions

Field Type Description
by string[] ids of deleting users
date string event date
reason PostDeleteReason deletion reason

Reviews

Field Type Description
link string review link
result PostReviewResult review outcome
type ReviewType review type
votes Record<string, number> votes cast breakdown

Undeletions

Field Type Description
by string[] ids of deleting users
date string event date
reason PostUndeleteReason deletion reason

Environment variables

Variable Type Required? Default Description
API_KEY string yes - Stack Exchange API key
CHAT_EMAIL string yes - Chat account email address
CHAT_PASSWORD string yes - Chat account password
CHAT_ROOM string yes - Room id to report to
REPORT_DAYS number no 8 Number of days to report
REPORT_REVIEWS number no 4 Number of reviews to report
REPORT_USER number yes - Chat id of the user to report to
REVIEW_PAGES number no 100 Max number of review pages to scrape
STACKAPPS_POST number no 8091 StackApps post id
TENK_EMAIL string yes - Account email address (10K+ rep)
TENK_PASSWORD string yes - Account password (10K+ rep)

License

All code is licensed under GPL-3.0-only license.

About

A bot designed to seek out and provide feedback about potentially bad reviews.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •