A convention-first Discord bot framework built exclusively for the Bun runtime (>=1.1.0). Current stable version is 0.7.6 with active development and frequent releases. Key differentiators: folder-based routing where file paths become slash commands (no manual registration), hot-module replacement during development, a plugin marketplace, and built-in plugins for SQLite, voice, AI, economy, and web dashboard. Requires discord.js ^14.0.0, ioredis ^5.0.0, and optional voice dependencies. Full TypeScript support with augmentable context types. Designed as all-in-one alternative to frameworks like Sapphire or discordx, with a focus on zero-boilerplate developer experience.
npm install popii-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup with Popii client, a ping command using file-based routing, and a ready event listener.
Install Bun (https://bun.sh) and use 'bun run' instead of 'node'.
Popii is designed exclusively for Bun; do not attempt to run with Node.js or other runtimes.
Use 'new Popii(options)' after default import, not 'Popii(options)'.
Import from 'popii-framework' directly: import { PopiiShardingManager } from 'popii-framework'.Ensure the machine can reach 'https://api.popii.dev' during installation.
Run 'bun add popii-framework discord.js ioredis' and use 'bun run' to start.
Use ESM import syntax and ensure all peer dependencies (discord.js, ioredis) are installed.
Set DISCORD_TOKEN in .env file or environment, or pass token in Popii constructor options.