discord.lt
v1.0.0
Published
a lightweight wrapper for discord api
Downloads
3
Readme
discord-lite
A lightweight wrapper for the Discord API
Installing
- Clone repo
- Make sure repo is in same directory of your bot (TEMPORARY)
- Set up your token in a config file if project is public.
- Copy the example and paste it down below.
const DiscordLite = require('./discordlite');
const client = new DiscordLite.Client();
const TOKEN = require('your bot token');
client.login(TOKEN);
client.on('ready', (readyMsg) => {
console.log(readyMsg);
});
client.on('message', message => {
console.log(message);
})```