/dapi.js

discord api library

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Example usage:

const client = require('dapi.js');
let token = 'bot token'

client.login(token) // set bot status to online
client.createMessage({
    message: 'something for test',
    channelID: 'channel id',
    token: token,
    embed: { // embed
        description: 'description for test',
        title: 'title'
    }
}); // sending message "something for test"

Links

NPM

Github

Dapi.js help

Donation

paypal