Hey everyone! Ive made a third bot for the instance called Linker. This bot will automatically detect when you try to reference a certain community and then give both relative and direct links to it in a comment for people to check out.
The usual syntax when you want to reference a community is [email protected] with communityname replaced by the community name and programming.dev replaced with the instance the community is in
It will also detect when you link a community like this https://programming.dev/c/programming
Works for both posts and comments but will only handle communities that have been entered in the bot. To start with I’ve put in the top 50 most active communities in the instance but will put the rest in soon
If you have any suggestions for communities to link in on other instances let me know
I lament I only have 1 upvote to give! Hold on let me spin up a bot…. (just kidding).
But seriously this is great! I wonder if it can be expanded to auto-populate communities rather than being a hardcoded list.
Unfortunately not possible rn with the information the api currently gives. The only thing you can get in terms of instances is the instance id but you need the name to use it in a link
The bot might become redundant very soon though since v18 has a feature to autoconvert links into relative links
Ah I see. Well fair enough! Thanks for making it