Socket
Socket
Sign inDemoInstall

@aroleaf/djs-bot

Package Overview
Dependencies
33
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aroleaf/djs-bot

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


Version published
Weekly downloads
10
increased by66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

FAQs

Last updated on 03 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc