AWS Lambda-backed interactions. No server to run, no idle cost, one command to ship.
from cordless import Cordless
bot = Cordless()
@bot.command("hello", description="Say hello")
async def hello(ctx, name: str = "world"):
await ctx.send(f"Hello, {name}!")
handler = bot.handler()$ cordless deploy
→ packaging function...
→ provisioning lambda...
→ wiring api gateway...
https://abc123.execute-api.eu-west-2.amazonaws.com/Runs entirely on AWS Lambda. No process to keep alive, no servers to manage, no idle cost — you pay only when interactions happen.
cordless deploy packages your code, creates the Lambda, wires API Gateway, sets up IAM, and registers your commands. Done.
Commands that take longer than Discord's 3-second window stay responsive. cordless handles the async worker Lambda handoff automatically.
First-class support for Containers, Sections, MediaGallery, and all of Discord's modern UI Kit primitives. No raw dicts required.
Install cordless, scaffold a project, and deploy in minutes.
pip install cordless