Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 827 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 827 Bytes

Discord.js Bot Wrapper

Build Status

Welcome to Discord.js Bot wrapper! This tiny library is just basically a wrapper for Discord.js's Client, more specifically used for bots. If you want to learn how to set your Bot up, head out to this page.

Installation

As any other npm package, this one is easily added to your project:

npm install --save discord-bot-wrapper

Usage

It is also simple to use! Just initialise your bot as such:

const bot = require('discord-bot-wrapper')({
  name: 'My bot',
  auth: {
    token: 'mytoken',
  },
  events: {
    message(message) {
      // My logic goes here
    }
  }
});