Package Exports
- discord-bot-core-client-node
- discord-bot-core-client-node/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-bot-core-client-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Discord Bot Core Client
Core client for create-discord-bot.
Getting started
npm i core-client-node
Example
// src/index.ts
import "dotenv/config";
import path from "path";
import { CoreClient } from "discord-bot-core-client";
const client = new CoreClient({
token: process.env.DISCORD_BOT_TOKEN as string,
});
client.registerBotsIn(path.resolve(__dirname, "bots")).start();