Bot getting {'error': 'temporarily_disabled', 'reason':'010}

Hi There,

I’ve got a mod bot (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,
@Rooki@lemmy.world avatar

Direct comments are disabled. You have to get it in the instance comments ( just dont select a communityid ).

Bluetreefrog,

Thanks for your reply.

Direct comments are disabled.

I should clarify that the bot is only retrieving comments, not posting any. It’s actions are restricted to raising reports for Mods to review. Does this change your advice?

You have to get it in the instance comments ( just dont select a communityid ).

If I don’t select a communityid, how then do I keep the bot within it’s paddock? Do I have to retrieve everything and then check if it’s in a selected community before applying the rules?

Thanks in advance.

Rooki,
@Rooki@lemmy.world avatar
  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,
  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,
@Rooki@lemmy.world avatar

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,

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.

Rooki,
@Rooki@lemmy.world avatar

Its easier for the server to just give you “dumb” all comments of the instance. As rather particular 1 community.

Bluetreefrog,

OK, thank you for helping out.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines