0.3.2 • Published 5 years ago

yajdbl v0.3.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

YAJDBL, a simple and easy to use (WIP) JavaScript library for interacting with the Discord API.

Frequently Asked Questions

Q: Can I use YAJDBL now?
A: Yes, you can. But, it is not a completly ready library yet, but as for now, it's stable enough to be used.

Q: Why YAJDBL?
A: YAJDBL is a easy-to-use, powerful library and has better support.

Q: What does YAJDBL stands for?
A: It's simple, Yet Another Javascript Discord Bot Library

Q: Why was rewrite gone?
A: Rewrite has been removed! We've pushed the rewrite to the master branch now.

Installation

Stable: npm install --save yajdbl

Master: npm install --save yajdbl/yajdbl

Voice isn't supported yet.

Documentation

Full Documentation Here!

To-do list

  • Voice Support
  • Sharding
  • Proper Disconnection Handling
  • Finish all the Structures
  • Finish all events
  • REST Error Handling

Notes

  • This is not a clone of Discord.js
  • Project started on November 8, 2018, by Kevlar.
  • Thanks to Zoro#0001, from Plexi Development for creating types and other contributions.
  • Thanks to boltxyz for contributing.

Developers

  • Kevlar: Main Developer/Maintainer.
  • boltxyz: Developer/Contributor.
  • Zoro: Typings Developer/Contributor.

Example

const yajdbl = require('yajdbl');
const client = new yajdbl.Client({ disableEveryone: true });

client.on('ready', () => {
    client.print(`Logged in as ${client.user.username}!`);
});

client.on('message', (message) => {
    if (message.content === 'ping') {
        message.reply('pong!');
    };
});

client.login('Bot token'); 
0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago