discord-lang

0.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i discord-lang

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

12.9 kB

Total Files

17

Last publish

Collaborators

  • ruben40000