A plugin for the Popii Discord bot framework.
bunx popii add yourpluginOr manually:
bun add popii-plugin-yourpluginimport { popiiClient } from "popii";
import { yourPlugin } from "popii-plugin-yourplugin";
const client = popiiClient({
token: process.env.DISCORD_TOKEN!,
plugins: [
yourPlugin({
// options
}),
],
});
client.start();| Option | Type | Required | Description |
|---|---|---|---|
| — | — | — | No options yet |
This plugin was built with the popii-plugin-template.
bun install # install dependencies
bun run typecheck # type check
bun run build # build for publishingTo publish a new version, push a git tag:
git tag v0.1.1
git push --tagsThe publish workflow will build and push to npm automatically. Make sure NPM_TOKEN is set in your repository secrets.
MIT