Reference
Lua API Downloads
Download generated Lua API files for editors and tooling.
This page is not available in es yet, so the en version is being shown.
These downloads are for people who want the Lua API outside the website. You might want
them because your editor can show autocomplete, because you like keeping reference notes
locally, or because a tool needs structured API data.
Most people do not need these files on day one. If you just want to make the bot answer
something, read Scripting first. If you want to understand what
the generated reference is showing, open the Lua API page.
poplua-api.md
This is the generated Markdown reference. It is useful when you want a text file you can
read, search, or keep open beside your editor.
poplua.d.lua
This is the editor-friendly Lua annotation file. Some Lua-aware editors can read it and
understand names like macchi.reply or parts of the runtime context. If you like
autocomplete, this is probably the file you care about most.
poplua.api.json
This is structured API data for tools. Normal users probably will not open it by hand,
but it is useful if a future tool wants to inspect Macchi’s scripting surface
programmatically.
The download links below point to the current generated artifacts when they are
available. If the files are missing, the page will say so instead of pretending they
exist.