1.3.0 • Published 8 years ago

bot-discord v1.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Bot-discord

About

bot-discord is a free, open-source, small node.js module that helps you with creating your own Discord bots.

Installation

npm install --save bot-discord

How to use

Example bot with this API:

// Load bot class
const {Bot} = require('bot-discord');
const TOKEN = 'your token here';

let bot = new Bot(TOKEN);
(async () => {
  try {
    let token = await bot.init();
    // token === TOKEN
  } catch(err) {
    console.error('Oh no! Error :-(', err);
    return;
  }
})();

For more examples see /examples

Documentation

See documentation page

License

MIT

1.3.0

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago