-bash: ./mastodon-ebooks.py: /usr/bin/python3^M: bad interpreter: No such file or directory

😭 why

mastodon.Mastodon.MastodonUnauthorizedError: ('Mastodon API returned error', 401, 'Unauthorized', 'The access token is invalid')

😭

It's showing up just fine in my authorized apps tab on the account, I don't know why it's saying the auth info is invalid @squirrel heeeelp?

@InspectorCaracal yup, one is client id and the other is client secret

usercred is access token

@squirrel oOH

I figured it out

mastodon-ebooks.py has computerfairi.es hardcoded in 👍

@squirrel awesome~

also is "mastodon-ebooks.py -r" making the bot repeat all my mentions back at me expected because it just happened to me and I don't know if it's because I did it wrong >.>;;;

@InspectorCaracal so the way this bot listens to replies on cronjob functionality is it iterates over the notifications it has and then clears them (not great i know, i should see if i can just store what was the last notification parsed)

and at each mention it'll print the message, print the reply to that message, while posting that reply

@squirrel this makes sense!

They were all exact copies though, is that just the markov thing acting up, then?

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!