Our Southern cousins in Sydney and Melbourne have daily threads which encourages a bit of chatter… Where’s ours?

I’d love to be the change I wish to see in the world, but I have no idea how to automate this any better than an alarm on my phone saying “post a daily thread idiot” and I’m sure there’s a better way.

  • deadcatM
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve cleaned up my code and checked it in here: https://github.com/dfrencham/lemmy-post-bot

    I use Visual Studio code (I run it using the Linux subsystem for windows).

    I’ve put instructions in the README.md file, and cron setup instructions in the SETUP_CRON.md file.

    If you are not setup to build the bot, then I can create a built version and post a .tar.gz file for you to use.

    • Rusty Raven
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Thank you, that is a lot simpler than the code I was using. Although I have miraculously got mine to work now, so will probably stick with that rather trying to redo it at this point, at least for now. It’s been a steep learning curve, but I am starting to somewhat understand what I am looking at with the code now, so that’s something!

      • calhoon2005
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I enjoyed this and it was very wholesome. Well done you two.

      • deadcatM
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Great to hear it is working :) always a great feeling.

        I’ve updated my code to output a single .js file which can be called with node. The file is in a zip here: github

        If you have a look at the code updates, you might find feature/unfeature code useful. :)