Comments (10)
Done: LemmyNet/lemmy#3566 (after verifying with some moderator that they can't already do it: https://lemmy.world/post/1232021)
from lemmy-bot.
The same issue with getPersonDetails. A workaround you have to create a new lemmy-js-client instance and use that for your needs
from lemmy-bot.
i can help you on creating such Bot, if you want to ;) Hit me up on discord: roooooooooooooooooooooooooooooki (Its the new format )
from lemmy-bot.
I'm looking into making a bot that lets commenters vote on what genres apply to the story and then locks it and logs it into a database that will (probably) be web-accessible.
Would the post that users are voting on be made by the bot, or someone else? Accounts can update their own posts and comments, so if the post is made by the bot that can be doable. If you want it to update a post made by a different person, I don't think Lemmy's API supports that.
from lemmy-bot.
If you want it to update a post made by a different person, I don't think Lemmy's API supports that.
The bot would be either creating or using a comment on each relevant post (non-meta).
The only thing I would've hoped to be able to change is tags on the parent post, which is not yet implemented at all in Lemmy.
This bot would simply be a moderator in it's own right. Can moderators not yet mark a post nsfw if it's incorrectly marked?
from lemmy-bot.
Can moderators not yet mark a post nsfw if it's incorrectly marked?
I don't think so, however there isn't much documentation on Lemmy's API so it's hard to tell.
from lemmy-bot.
Can moderators not yet mark a post nsfw if it's incorrectly marked?
I don't think so, however there isn't much documentation on Lemmy's API so it's hard to tell.
Alright. I'm going to assume that eventually non-static post metadata will probably be alterable by moderators. Maybe it'll have a log for it, but I see benefits for non-abusing moderators being able to fix wrongfully or maliciously set values rather than just nuking the offending post.
from lemmy-bot.
Please make an issue on the Lemmy server repository if you'd like to see that supported in the API. Your idea sounds like it could be very useful to moderators.
from lemmy-bot.
I added those functions to the botactions. Should be available after the next release :)
from lemmy-bot.
I see it in commit c44dc15
I will go ahead and close this issue
from lemmy-bot.
Related Issues (20)
- Program stops after some time with ETIMEDOUT error. HOT 12
- getUserId and getCommunityId dont always find the user/community HOT 2
- Add a dryrun mode for development
- How to identify if a person is a mod in the community? HOT 2
- Spam of logging in and other stuff HOT 3
- 0.18.1-rc.4 Is broke the bot totally HOT 10
- Invalid JSON response body when starting up HOT 7
- Bot creates a 502 Error
- Getting `user_already_exists` error after login HOT 6
- First fetch works second not anymore HOT 6
- BotAction to follow a community
- Support for the resolveObject method as a BotAction HOT 1
- SQLITE_BUSY: database is locked HOT 5
- Detect if Post URL / Image / Title / Body changed? HOT 3
- Possible spam of (almost) useless console.log HOT 2
- Get Community (and Instance) Info/Sidebar HOT 1
- just sits at "user_already_exists"
- [Feature request] Optional flag to disable logs HOT 2
- How to list user posts & comments ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lemmy-bot.