JSPM

discord-bot-core-client-node

0.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q19617F
  • License MIT

Core client for create-discord-bot.

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

Discord Twitter Follow

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();