discord-ganymede
v1.0.2
Published
A another wrapper/library to interact with Discord API
Downloads
6
Maintainers
Readme
Ganynmede 1.0
Discord Ganymede is a ~~another~~ simple wrapper to interact with the Discord API
NOTE: Discord Ganymede is in development. So, there are not many functions as while
Installation
npm intall --save discord-ganymede
Simple Usage
const Biscuit = require('discord-ganymede');
const client = new Biscuit.Client('your-token-goes-here');
client.on('ready', () => console.log('Online!'));
client.on('message', message => {
if (message.content == '!ping') {
return client.createMessage(message.channel.id, { content: 'Pong!' });
};
});
client.connect();