README
Discord Lang
Discord Lang is a library made to interact wit the discord API easily.
Examples
const Discord = require("discord-lite");
const Bot = new Discord.Bot();
Bot.OpenConnection("token");
Bot.on("WebsocketConnect", () => console.log(`Ready!`));
Bot.on("WebsocketMessage", Message => {
if (Message.Author.Bot) return;
if (Message.Content === "!ping") {
return Message.Channel.SendMessage(`<@${Message.Author.ID}> Pong!`);
}
});
If you need more help about anything join to our support server here.