nodejscord
v0.1.4
Published
A Simple (WIP) API Wrapper for Discord
Downloads
9
Readme
NodeJSCord
A Simple (WIP) API Wrapper for Discord
Documentation
Example
const NodeJSCord = require('nodejscord');
const client = new NodeJSCord.Client('YOUR BOT TOKEN');
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}`)
});
client.on('message', (message) => {
if (message.content === 'ping') {
message.channel.sendMessage('Pong!');
};
});
client.connect();
Support
Join our Support Server Here!