Discord bots,
serverless.

AWS Lambda-backed interactions. No server to run, no idle cost, one command to ship.

lambda_function.py
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/
01

No server required

Runs entirely on AWS Lambda. No process to keep alive, no servers to manage, no idle cost — you pay only when interactions happen.

02

One command deploy

cordless deploy packages your code, creates the Lambda, wires API Gateway, sets up IAM, and registers your commands. Done.

03

Deferred interactions

Commands that take longer than Discord's 3-second window stay responsive. cordless handles the async worker Lambda handoff automatically.

04

Components v2

First-class support for Containers, Sections, MediaGallery, and all of Discord's modern UI Kit primitives. No raw dicts required.

Ready to build?

Install cordless, scaffold a project, and deploy in minutes.

pip install cordless
Quickstart guide