| Commit message (Collapse) | Author | Lines |
|
This is in response to recent attacks where the attacker DMs someone who opens a thread and tells the thread opener to pip install a malicious package under the false pretense that it will solve their problem. The warning replaces "For more tips, check out our guide on asking good questions", which is stated in the thread closer embed.
|
|
Add logic to see if anyone other than the OP (or bots) engaged in a help thread when it closes for inactivity. Currently only looks at the last 10 messages. If not, includes a ping to the OP before the embed in the closing message.
|
|
|
|
|
|
|
|
Previously, the message from the bot requesting that new helpers answer off-topic questions did not cause a ping. Solved by this commit.
|
|
|
|
Namely just seeing if there's a question mark in it that isn't part of a URL.
|
|
It may occasionally be confusing why the bot thinks people need to "help" if there's a false positive (ie if the message is not a question).
|