Thanks for sharing. This is a great way to write simple bots without dealing with hosting.
this post was submitted on 02 Jul 2023
13 points (93.3% liked)
Lemmy App Development
788 readers
1 users here now
A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.
On-Topic:
- programming questions related to the Lemmy platform
- sharing your ideas, WIP, or released Lemmy-related work
Off-Topic:
- general programming questions unrelated to Lemmy
- feature requests for developers
- sharing or promoting work not related to Lemmy
founded 2 years ago
MODERATORS
I see that you have the following line in your bot:
auth: @me.secrets.lemmee,
Does that mean you are storing the JWT in your secrets? Doesn't that mean that it will expire after some time? Wouldn't it be better to get the JWT before performing the action? Something like this: https://www.val.town/v/canpolat.getLemmyJwt