For developers

Build modules for Zephyr.

Extend Discord bots with sandboxed Lua modules. A fully documented host API, capability-based permissions, and a live playground to run code against a real sandbox.

Read the docs100 functions · 18 namespaces
main.lua
zephyr.commands.register({ "hello" }, {
  description = "Say hello",
}, function(ctx)
  zephyr.discord.respond({
    content = "Hi, " .. ctx.user_name .. "!",
    ephemeral = true,
  })
end)