@aroleaf/djs-bot
TypeScript icon, indicating that this package has built-in type declarations

5.4.0 • Public • Published

DJS-Bot

A bot library / wrapper around discord.js. This was made for personal use, so you may not get the kind of support you would get from many other packages.

Documentation

Install

You can install DJS-Bot from NPM:

npm i @aroleaf/djs-bot

Example

import { Bot, GatewayIntentBits, Loader } from '@aroleaf/djs-bot';

const bot = new Bot({
  intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages ],
  commands: await Loader.import('commands'),
  events: await Loader.import('events'),
  owner: '123456789012345678',
  prefix: '!',
});

bot.login('token');

/@aroleaf/djs-bot/

    Package Sidebar

    Install

    npm i @aroleaf/djs-bot

    Weekly Downloads

    0

    Version

    5.4.0

    License

    MIT

    Unpacked Size

    104 kB

    Total Files

    83

    Last publish

    Collaborators

    • aroleaf