Hi There,

I’ve got a mod bot (https://github.com/noenfugler/LemmyModBot) in development that I’ve been using/training in asklemmy with the full knowledge of the other mods and the community owner.

I’ve just started getting an error when issuing GetComments for the asklemmy community (id 3106). I don’t think I made any code changes when this started happening, so I’m wondering if there has been some restriction placed or change made that I’m not aware of that could be causing this response from the API?

Thanks in advance

  • Rooki@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago
    1. I meant with direct comments… direct community comments.
    2. Fetching is allowed. But not posting everywhere. You have to check the community id of the post / community and only respond to the wanted communities
    • Bluetreefrog@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago
      1. Fetching is allowed. But not posting everywhere. You have to check the community id of the post / community and only respond to the wanted communities

      Hmm, this is library breaking (pylemmy). I’ve tried the same code with no changes on lemm.ee and it’s working fine, so is this something that can be reconsidered at lemmy.world I wonder? I’m not sure if it has been done to combat abusive actors, but if so then I imagine a bad actor could just achieve the same thing through activitypub on a less tightly controlled instance.

      • Rooki@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        The thing is. Then over activitypub its on the OTHERs instance server LW Server doesnt care if they are getting boxed. The others have most of the time less active users too, so they have even less to worry

        • Bluetreefrog@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Ah, gotcha. Still learning about Activity Pub.

          Sorry for peppering you with questions like this, but wouldn’t requiring bots to grab all comments for the instance impose greater load on the server than letting them just grabbing selected communities?

          I’m not trying to be difficult, just trying to understand so that I can build a well-behaved bot.