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.
As any other npm package, this one is easily added to your project:
npm install --save discord-bot-wrapper
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
}
}
});