this post was submitted on 21 Jun 2023
14 points (100.0% liked)

Programming.dev Meta

2472 readers
1 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 1 year ago
MODERATORS
 

Hey everyone, I've just finished up my second bot in the instance after Frank my thread posting bot. This one is called Mega and is just used to auto post any new posts that come up from RSS feeds to certain communities.

Currently I just have it set up in the Godot and Unreal communities but if you're modding a community in the instance and want a feed added let me know.

I also have the source code available here if you want to look at it or host a version of it yourself.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

For us poor schmucks that want to use this in different communities but don't do javascript, can you let us know specifically which lines to comment out on the initial run to avoid all the backposts? Thanks.

Edit: I see a note in the updated readme that it's not working on instances running 0.18?

[–] Ategon 2 points 1 year ago (1 children)

Yeah I havent been able to get it working with the new version still

The specific lines though is the section that starts with await createPost around line 195. Added it to the readme

[–] [email protected] 1 points 1 year ago (1 children)

Thanks for adding that to the readme about what lines to comment out.

Yeah I havent been able to get it working with the new version still

No problem. I wonder what they changed in the API?

[–] Ategon 2 points 1 year ago

Probably has to do with the switch off websockets for the website