DJS-Bot

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

Generated using TypeDoc