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

5.3.11 • 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');

Dependencies (5)

Dev Dependencies (7)

Package Sidebar

Install

npm i @aroleaf/djs-bot

Weekly Downloads

13

Version

5.3.11

License

MIT

Unpacked Size

104 kB

Total Files

83

Last publish

Collaborators

  • aroleaf