Skip to content

popii-dev/plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

popii-plugin-yourplugin

A plugin for the Popii Discord bot framework.


Installation

bunx popii add yourplugin

Or manually:

bun add popii-plugin-yourplugin

Usage

import { popiiClient } from "popii";
import { yourPlugin } from "popii-plugin-yourplugin";

const client = popiiClient({
  token: process.env.DISCORD_TOKEN!,
  plugins: [
    yourPlugin({
      // options
    }),
  ],
});

client.start();

Options

Option Type Required Description
No options yet

Development

This plugin was built with the popii-plugin-template.

bun install       # install dependencies
bun run typecheck # type check
bun run build     # build for publishing

To publish a new version, push a git tag:

git tag v0.1.1
git push --tags

The publish workflow will build and push to npm automatically. Make sure NPM_TOKEN is set in your repository secrets.

License

MIT

About

Template used for creating Popii plugins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors