Skip to main content
Purplet Logo

Purplet is a Discord Bot Framework that leverages Vite to give a developer experience never seen before:

export const helloWorld = $slashCommand({
name: 'hello',
description: 'A simple "Hello, World" command.',

async handle() {
this.showMessage('Hello, World!');


Purplet achieves total modularity by breaking your bot into different Feature objects that define a single behavior, such as a Slash Command or Modal Component.

Iterate Quickly

With the power of Vite's HMR, your bot loads new code the instant it is saved, and patches command lists without dropping any connections.

Cloud Focused

The entire framework is built with exporting to Cloud Functions in mind. The same code handling interactions from the Gateway will work as an HTTP interaction endpoint without any code modification.