I’ve updated the bot and added the possibility of translating hardcoded links (like this one: https://lemmy.world/post/2355178 or this one: https://lemmy.world/comment/1863672) to posts/comments with links from your instance when you mention him. I’ll show an example in comments.
@CommunityLinkFixer@lemmings.world - you can just summon the bot like this and it should reply.
Hi there! Here are all the fixed links for your instance:
Let’s try it!
@CommunityLinkFixer@lemmings.world
Oh, should have mentioned, it reads the links from the comment/post you’re replying to, so in this case from my comment which doesn’t contain any links. You can try it as a direct reply to the post.
Oh, got it. What if I include a link in my own comment, like this?
https://lemmy.world/post/2355178
@CommunityLinkFixer@lemmings.world
@CommunityLinkFixer@lemmings.world
I hereby summon you!
Hi there! Here are all the fixed links for your instance:
Yay! Good Bot!
That won’t work as well. It always checks the parent of your comment. I felt it better suits the natural flow of conversation - someone posts a link, you can’t click it, so you summon the bot to fix it for you.
Makes sense, thanks for the info!
I’m sorry, I couldn’t find any links that I could fix. If you believe this is a mistake, please contact @rikudou@lemmings.world.
@CommunityLinkFixer@lemmings.world
Sadly I failed to fetch the correct links. Possibly because no one from your instance is subscribed to the community this comment originates from.
You may contact @rikudou@lemmings.world and he will check what went wrong.
I’m sorry, I couldn’t find any links that I could fix. If you believe this is a mistake, please contact @rikudou@lemmings.world.
Wouldn’t that result in too much spam if in the same thread there are users from many different instances summoning it?
Possibly, but I leave it up to the mods and individual users. Overall I’m happy to tweak the bot in a way that suits the mods/admins, so feel free to reach me, if you feel like the bot should behave differently.
browser addon would be much cleaner imo
I believe there is already a browser add on for this. Cannot remember the name right now.
Edit: I think this should be in Lemmy core.
there’s lemmy link and kbin link for firefox, idk about chrome