For the record, Strange Brew is an awesome movie.
Are you using any sort of automated web testing framework to do the work, or did you custom roll your own? Or are you using some sort of API? Your methodology may narrow down the issue.
Welcome to the programming.dev lemmy development community! This is a place to discuss and show off bots, tools, front ends, etc. you're making that relate to lemmy
Theres another version of this community over at lemm.ee if you want to subscribe to that one as well
Icon base by DarkZaitzev under CC BY 3.0 with modifications to add a gradient
For the record, Strange Brew is an awesome movie.
Are you using any sort of automated web testing framework to do the work, or did you custom roll your own? Or are you using some sort of API? Your methodology may narrow down the issue.
Yes, yes it is.
I started with the "Congratulations bot" example on this project, using this as the library. It runs on Node JS. https://github.com/SleeplessOne1917/lemmy-bot
Some things to think about:
And maybe you've already thought of these and tried them. It's past my bedtime, so my brain isn't chugging along at full power. It's as though my brain is telling me, "Take off, eh, you hoser!"
Strange Brew is a confusing post to work with - there's 2 of them, one by you, and one by the bot. Typically, when a post is cross-posted to its own community, only one is visible.
It might be easier to ask why the bot replied to Mr Nice Guy and not Fight Club. Only your error logs can tell you this.
There's no rules about who a bot can reply to. I made a reply in the Fight Club post from a bot account using this:
my_instance="https://feddit.nl"
auth="my-jwt-string"
post_id=1232490 # feddit.nl's version of the post
API="api/v3"
content="Sigh. Yet another Mr Robot ripoff"
create() {
end_point="comment"
json_data="{\"auth\":\"$auth\",\"post_id\":$post_id,\"content\":\"$content\",\"language_id\":37}"
url="$my_instance/$API/$end_point"
curl -H "Content-Type: application/json" -d "$json_data" "$url"
}
create