yajdbl
v0.3.2
Published
A simple (WIP) and easy to use Javascript library for interfacing with the Discord API
Downloads
21
Readme
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
To-do list
- [ ] Voice Support
- [ ] Sharding
- [ ] Proper Disconnection Handling
- [ ] Finish all the Structures
- [ ] Finish all events
- [x] ~~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');