I can't seem t get the bot working. Well, I get it to run, but after that it doesn't do anything, I think. My "all" is still only the stuff I followed on my server.
Can anyone jump in to see what I'm doing wrong?
Steps I did:
log in to my Linux server
mkdir lemmybot
cd lemmybot
git clone https://github.com/lflare/lemmy-subscriber-bot
docker run --name lemmy-subscriber-bot -dt --env 'LEMMY_USERNAME=subscriber_bot' --env 'LEMMY_PASSWORD=subscriber_bot' --env 'LEMMY_DOMAIN=waste-of.space' lflare/lemmy-subscriber-bot
root@lemmy-server:~/lemmybot/lemmy-subscriber-bot# docker logs lemmy-subscriber-bot
2023-07-11 11:02:27.636 | ERROR | __main__:retrieve_jwt:87 - {"error":"couldnt_find_that_username_or_email"}
Traceback (most recent call last):
File "//bot.py", line 248, in <module>
main()
File "//bot.py", line 244, in main
bot.start()
File "//bot.py", line 49, in start
self.retrieve_jwt()
File "//bot.py", line 88, in retrieve_jwt
raise e
File "//bot.py", line 84, in retrieve_jwt
self.jwt = r.json()["jwt"]
~~~~~~~~^^^^^^^
KeyError: 'jwt'