0.4.6 • Published 8 months ago

@l3dev/discord-bot-tickets-plugin v0.4.6

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

discord-bot-tickets-plugin

Usage

Add the plugin to the bot config and pass in the plugin config

import botTickets from "@l3dev/discord-bot-tickets-plugin";
import { createBot } from "@l3dev/discord.js-helpers";

const bot = createBot({
    ...
    plugins: [botTickets({ db })]
});

Create a schema file (e.g. bot-tickets.schema.ts) in the drizzle schema folder

export * from "@l3dev/discord-bot-tickets-plugin/db-schema";
0.4.6

8 months ago