Can we create a bot to auto delete posts that don't link properly

sabreW4K3@lemmy.tf to New Communities@lemmy.world – 81 points –

If people can't be arsed enough to even get their post format correct, they don't deserve the free promotion.

66

there is a bot that corrects the links, maybe we should improve that

Yep, feel free to offer suggestion for improvement (or link to false positives, so I can fix that)!

One thing I've noticed is the bot seems to "correct" people who include both the Lemmy-friendly link and the actual URL in their post. I've seen this a few times, although it's possible the posters are editing the posts to add this in response to the bot. It'd be nice if the bot could check for this.

Fyi your bot is apparently trying to "correct" people posting from Mastodon too. Seems like it's replying to every comment that comes through from Mastodon's side. Example: https://lemmy.world/post/1628806

Yes, I know about that and I think it's working as intended, only the message sucks. I already changed it today, but now that I'm looking at it again, it still sucks :/

Do you have any idea for a better message? There are two messages currently, one for Lemmy users and one for non-Lemmy users:

  • Lemmy users message: Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this:
  • Non-Lemmy users message: Hi there! The links in your text lead away from the user's instance, here are fixed links that stay on each user's instance:

Well to post to Lemmy from Mastodon, the Mastodon user has to tag the community. That tag displays as a link on the Lemmy side. The Mastodon user has no control over the format of said link, as it's a Mastodon user tag. So your bot shouldn't be trying to correct it at all in this case.

The user may tag multiple communities, I tried to not phrase as a correction but more like "here's a link for Lemmy users".

It's just not needed though, is the thing. These "links" aren't links that are posted for people to follow, they're just an artifact of having posted from Mastodon. As we get more interaction between the two platforms, your bot as currently written will reply to every single post and comment made from Mastodon, ever. It serves literally no purpose in this situation other than to clog up threads.

I'm not trying to start a fight or anything. If you absolutely won't be convinced that it's pointless replying to Mastodon tags, maybe you can at least consider limiting it to replying only on the main post? Otherwise, again, every single comment in the thread that is made from Mastodon is going to get the same bot response.

Replying to only the top-level post for Mastodon makes sense to me, thanks for the suggestion!

Edit: I temporarily disabled replies to Mastodon posts until I can think of a better solution.

Not sure if you're aware but this is still happening. In fact, looking at the bot's posts today is it possible you accidentally set it to only respond to Mastodon threads? ๐Ÿ˜…

Examples: https://lemm.ee/post/1456125, https://lemm.ee/post/1375340, https://lemm.ee/post/1441558

Oooh is the bot on gh?

6 more...
6 more...

If people canโ€™t be arsed enough to even get their post format correct (when it is clearly described in the post rules), they donโ€™t deserve the free promotion.

To be fair the post rules don't explain how the ! syntax works. !community@instan.ce btw.

That's also the only format that works across platforms.

Not sure if it works on kbin? !newcommunities

Ah, I guess it does. What about for kbin magazines? !Animemes

Nope. :/

!Animemes

!Animemes@kbin.social
Works!

Not from my end, that's what I typed. Kbin and kglitch may be on different versions?

Either that or it's an innovation on kglitch's side. Kglitch also renamed magazines to communities so as to use the same terminology as lemmy and removed the reputation system.

How do we format kbin magazine urls for Lemmy users to follow?

Gonna test this:
!Animemes
@Animemes
Animemes
Animemes
Animemes
@Animemes
/m/Animemes@kbin.social
/c/Animemes@kbin.social
Animemes <-- Finally found one that works from Lemmy! [Animemes](/c/animemes@kbin.social) (Wow this is actually the format listed in the sidebar, guess I should have started with that one)

To be fair, if you can't figure out how the syntax works based on the clear text, and usage everywhere else in Lemmy, you shouldn't be allowed to host a community.

I wish the post rules would also include what to do for kbin.

At the moment if I'm interested in a community I often have to write the url myself.

Also I don't know how to format kbin urls for lemmy users to follow.

Lemmy community for kbin: /search?q=newcommunities@lemmy.world

Technically the actual link is /m/newcommunities@lemmy.world, but if your kbin instance has no subscribers to that community yet, you have to first find it with the first link and subscribe to it, otherwise you get a 404.

At least on kglitch.social, using !newcommunities@lemmy.world seems to work like a combination of both: Searching for it when kglitch.social doesn't know about it yet, going to /m/community if kglitch.social does know about it.

Thanks, I mean I wish the formula was included in the rules so people making posts would include it so I could just click.

The part I don't know is how to post a kbin community for Lemmy users.

That's easy: /c/Animemes@kbin.social for the permanent link or !Animemes@kbin.social (the latter might only work if posted from kglitch)

Basically, the exact same as for a lemmy community for lemmy users.

Thanks!

Yay maybe now thanks to you I can promote my new community!