Skip to content

DDBKit

A declarative Discord bot framework for Swift.

Powerful

DDBKit provides a clean and concise ResultBuilder-based API to Discord, eliminating unnecessary boilerplate code.

Message {
MessageContent {
Heading("gm")
Text("gm")
}
MessageComponents {
ActionRow {
LinkButton("Get Started", url: "...")
.id("mom-btn")
}
}
}

Fast

Thanks to the safety and performance of Swift, your Discord bots respond rapidly and efficiently. Each event is ran on it’s own Task context without blocking your main thread, and ensuring smooth operation.

DiscordBM exposes fully-typed access to the Discord API with everything async/await.

Extensive

DDBKit covers everything, from the entrypoint of your bot and it’s initialisation to easy creation of messages, embeds, components and modals.

And more

DDBKit ships with two support modules, DDBKitUtilitites and DDBKitFoundation to help increase productivity.