• Tryp
  • 4M
Where can I learn how to use the Lemmy api?
cross-posted from: > As the title says, I'm trying to create my own discord bot that takes channel comments and posts them on lemmy but I'm woefully underprepared. I definitely just need some more baseline info because as always I'm already in much deeper than I should be. Thanks for any help! > > I've already setup a bot (on the same server as lemmy, exactly how it's described in the linked doc) and can successfully ping it from my server. [I used this to set it up which uses Lua]( and I'm unsure if that will be an issue. I can setup node.js if need be. > > I also installed the `lemmy-js-client`. I guess I have a few questions but really I'll take any help I can get :) > > - Does the js client need to be installed in a certain location? > - Where does the block of text on the api docs go? Just in my `bot.lua` file? > - websocket or http? Does it matter? > - I need to make a POST request to lemmy to uyt the content there after I grab the comment from discord? > - Can someone recommend me a resource so I can learn more about using [the API here]( More than willing to do the legwork on my own but I'd like to know I'm going in the right track first. > > Additionally I was trying to use [pipedream]( for assistance. I can optionally run code right on the site as shown in the picture below but also I can use any API account or make a POST request which are 2nd and 3rd photos below respectively. I'm taking a stab at the http POST workflow in between typing this. > > ![]( > > ![]( > > ![](

Ask specific questions about how to code something in Lua

Lua Reference Manual

General Lua discussion on

Create Post From:

External Communities:

  • 0 users online
  • 0 users / day
  • 1 user / week
  • 2 users / month
  • 2 users / 6 months
  • 2 subscribers
  • 1 Post
  • Modlog
Heap Overflow
A place to ask programming questions and share free resources

General programming discussion,
Additional resources, challenges

To post or comment:

  1. Create an account on another lemmy instance
  2. Then search for the community url like here


  1. No politics
  2. No flaming / trolling
  3. No proprietary BS
  4. Stay on topic

Please keep questions & examples short!

All content is Public Domain unless otherwise specified.
Only CC0, CC BY 3.0, or CC BY-SA 3.0 alternate licenses are allowed.

No affiliation with