RedditAutoCrosspostBot icon indicating copy to clipboard operation
RedditAutoCrosspostBot copied to clipboard

Add a delete to sub doesn't exist bot

Open JustCallMeRay opened this issue 4 years ago • 12 comments

It kinda ruins subreddits like r/subsIfellfor, have the bot delete it's comment if negitive karma or have the parent commenter be able to delete it (preferably via a message but a link in comment works too)

JustCallMeRay avatar Dec 18 '20 22:12 JustCallMeRay

Good idea, I'll put it in my backlog.

Do you perhaps know of a bot that already has this feature so I could easily copy-paste the code?

Toldry avatar Dec 19 '20 05:12 Toldry

Sneak peak bot has a blacklist (which I'd also appreciate) and should be easy to implement.

Backtick bot has a comment reply based blacklist.

JustCallMeRay avatar Feb 09 '21 20:02 JustCallMeRay

Do you have Backtick bot's source code? I couldn't find it by googling

I did find Sneak peak bot's code here: https://github.com/fterh/sneakpeek

Toldry avatar Feb 10 '21 05:02 Toldry

Is this the blacklist you mentioned in Sneak peak bot's code?:

https://github.com/fterh/sneakpeek/blob/5e25bae6ec14c714c964b7558795d4cdc91ba714/handlers/straits_times_handler/init.py#L187

This code seems unrelated to implementing a solution of the issue you opened, unless I am misunderstanding something. If so, please clarify.

Toldry avatar Feb 10 '21 05:02 Toldry

I don't know python (at all) that bot looks completely unrelated to u/sneakpeakbot. Just DM sneakpeakbot and ask how he did it, he's often online by the looks of it

JustCallMeRay avatar Feb 10 '21 11:02 JustCallMeRay

sent them a message, waiting for a response

Toldry avatar Feb 10 '21 13:02 Toldry

Cool, Again I dont know python but from memory of making a java bot it was just get the comment author and then check them against a blacklist, for now you can update the blacklist manually.

Also I found this

JustCallMeRay avatar Feb 10 '21 19:02 JustCallMeRay

I agree with OP but would go further to say this bot simply should not exist, see my expanded explanation in #13

KRA2008 avatar Mar 01 '21 19:03 KRA2008

u/sneakpeakbot responded, this is the repo

https://github.com/ghnr/sneakpeekbot

i'll use this later

Toldry avatar Mar 10 '21 01:03 Toldry

Would like to second the blacklist idea. An ability to opt out of the bot responding to user comments would be greatly preferred, if want you keep the bot running

transgwender avatar Mar 16 '21 17:03 transgwender

Or just have it DM the user who made the post with a link to the comment and the heads-up that the sub that they entered doesn't exist

abraxas86 avatar Jun 02 '22 03:06 abraxas86

That's a good idea @abraxas86 but part of my intention for the bot's function is to notify not just the user who posted the nonexistent subreddit but also to other users who happ upon the comment, so they won't waste time clicking on a link to a subreddit that doesn't exist, while also informing them of other subreddits with similar names

Toldry avatar Jun 02 '22 05:06 Toldry