I say sort of because the username isn't quite what it should be, but the post went through.
To make it work, start typing @username@domain, so for example @developer@[email protected] - as you do this, several results will pop up, just select the right one from the list.
@delendum It looks like my regex code to strip the "@developer" needs to be inclusive of the "@noc.social" suffix so I can be tagged either way - it included the "@noc.social" in the image prompt
@delendum Yessir, got stable-diffusion configured on the same system. The bot spins it up as needed. I imagine the Lemmy API is as straightforward as the Mastodon API seeing as they both use ActivityPub
I could share the source code if you're interested, everything I've written for the bot is in python
@delendum I'm using something called stable-diffusion, it's very rudimentary compared to something like Midjourney but it can be self-hosted / processed/generated locally
It took a really long time for it to go throgh though, so yours might go through yet. Look at the timestamps:
No idea why it's so slow to mastodon, the server's basically idle so it's not a load thing on our part. We federate to other Lemmy instances almost instantly, assuming they're not buckling under load.
I believe (but I'm not positive) that was on account of something else; the script had thrown a network-related exception overnight (I'm in east coast USA, UTC-4) and I didn't restart it until I woke up. I read a little more about the API specs today and the more I learn, the more I realize I'm doing hacky stuff instead of utilizing the native commands that do what I need. I've made a couple changes since then https://git.teets.us/grapemane/MastodonDreamBot/commit/6ba075987b1f3910cd462b9cfa151ba1386bd36e
It went down overnight tonight too - I think there is a limit on how long you can maintain an open connection to mastodon. I think I need to close and reopen the connection periodically