I used code from a github repo to make a lemmy repost bot from a reddit sub.

I tested it out, it seemed OK. So I let it run over night.

When I got back I found out it had been posting the same thing over and over again every few minutes. The account was banned for spam. But in the meantime it was very annoying to people. Also, there are a bunch of posts that can’t be removed because it’s impossible to remove federated stuff.

Is there a responsible way to test this stuff?

I don’t want to make spam, be annoying, etc. I feel bad about the spam bot.

    • freamon@endlesstalk.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Bots are clients that use the HTTP API

      Voyager was set up to test the app, but that doesn’t mean other clients can’t use it.

      Enterprise is full of random test communities that have many been populated by bots. I don’t understand how something like https://enterprise.lemmy.ml/c/mels_test (to pick a random one) isn’t useful for what you’re trying to do.

    • lemming934@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      These instances are specifically made for people testing code that interfaces with Lemmy. This includes front ends and bots.

      You should not use any communities on real instances since people will see your testing on their local page.