Skip to content

cordless

Discord bots, cordless.
from cordless import Cordless
bot = Cordless()
@bot.command("hello", description="Say hello")
async def hello(ctx):
await ctx.send("Hello!")
handler = bot.handler()
Terminal window
cordless deploy
# → https://abc123.execute-api.eu-west-2.amazonaws.com/

no server required

runs entirely on AWS Lambda. no process to keep alive, no servers to manage, no idle cost.

components v2

first-class support for containers, sections, mediagallery, and all of discord’s modern UI primitives.

deferred interactions

commands and buttons that take time stay responsive — cordless handles the async Lambda handoff automatically.

one command deploy

cordless deploy packages your code, provisions Lambda, wires API Gateway, and sets up IAM. done.


Terminal window
pip install "cordless[deploy]"