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.

  • Zamboniman@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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@programming.devOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      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

      • Zamboniman@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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?