Charcoal-SE / SmokeDetector

Headless chatbot that detects spam and posts links to it in chatrooms for quick deletion.
https://metasmoke.erwaysoftware.com
Apache License 2.0
474 stars 182 forks source link

!!/allspam should report all the user's posts to metasmoke #852

Closed Glorfindel83 closed 6 years ago

Glorfindel83 commented 7 years ago

While discussing !!/allspam, @angussidney noted:

Using !!/report with multiple arguments is preferred however, as then we get a copy of the post on MS, we can give feedback ,etc

While this is true, it's also more cumbersome (and not doable if the user has more than x posts, as !!/report is rate limited). Instead, !!/allspam should be rewritten so that it reports all the user's posts to metasmoke.

Alternatively, we could make a new command !!/report-all <link to user> for this.

tripleee commented 7 years ago

I agree that the requested behavior is what I naively expected from a command named like this.

Undo1 commented 7 years ago

It'd be great to be able to report all of a user's posts network wide. That could be quota-expensive (1 to get the user's site account, another to get the assoc accounts, and then up to 300ish (usually nowhere near that, more like 5) to get all posts.

Does anyone know of a more efficient way to get from a user to all their posts across the network?

AWegnerGitHub commented 7 years ago

We might be able to use http://api.stackexchange.com/docs/users-network-activity and use that to check recent posts. More than likely a true spammer only has a handful of things on this. That will at least narrow down which sites we have to query.

We still need to go from user account ID->network activity->listed activity (times how ever many sites listed here)

angussidney commented 7 years ago

https://github.com/Charcoal-SE/SmokeDetector/tree/allspam

quartata commented 6 years ago

This is currently in the NG pull request: https://github.com/Charcoal-SE/SmokeDetector/pull/1135