discord-lang
v0.0.1
Published
A low level binding library for interacting with the discord API.
Downloads
7
Readme
Discord Lang
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.