this post was submitted on 23 Jun 2023
19 points (100.0% liked)

Programming.dev Meta

2529 readers
2 users here now

Welcome to the Programming.Dev meta community!

This is a community for discussing things about programming.dev itself. Things like announcements, site help posts, site questions, etc. are all welcome here.

Links

Credits

founded 2 years ago
MODERATORS
 

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

Source Code

you are viewing a single comment's thread
view the rest of the comments
[–] Linker 3 points 2 years ago (1 children)

Hi! I noticed you mentioned some communities in your post[^Info]. Here are some links to them:

[^Info]: I am a bot, see the sections below for more info.

The relative links give you a 404This is typically caused by the community not being interacted with from your instance yet. To fix this you can: 1. Go to search and switch to searching by all 2. Search for the direct link to the community 3. You should be able to now use a relative link to it (or it will pop up in search if you keep trying as it loads asynchonously) ***
How do you add / remove a community from the botTo add or remove communities from the bot you can create an issue on the bot's Github Repository ***
How do you trigger the bot to respondFor example purposes lets say theres a community called testing on the instance programming.dev. All of these would work for both posts and comments: - [email protected] - [[email protected]](/c/[email protected]) - @[email protected] - programming.dev/c/testing - https://programming.dev/c/testing

I have added many communities to be handled to the bot by default but it is not exhaustive. If you want to add your community then see the add / remove community section.
***
Contact meHey I'm Ategon, the bots creator. If you have any questions, comments or just want to reach out to me heres my lemmy profile with some message buttons and links to my socials [Relative Link](/u/[email protected]) | [Direct Link](https://programming.dev/u/ategon) ***
[–] Ategon 2 points 2 years ago (1 children)

Formatting seems to be a bit broken on jerboa since it doesn't use the same markdown but works on web

[–] kogasa 1 points 2 years ago

Looks like this might be on Jerboa, since Lemmy "officially" mentions this extended markdown syntax: https://join-lemmy.org/docs/users/02-media.html