Skip to content

Nelspike/discord-bot-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published