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
      link
      fedilink
      English
      310 months 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.

      • CommunityLinkFixerBotB
        link
        fedilink
        English
        210 months ago

        Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: [email protected]

        • freamon
          link
          fedilink
          English
          310 months ago

          Speaking of bots that should have some checks built in, ha.

    • @[email protected]
      link
      fedilink
      210 months 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.