@tech-voyager/warden

0.0.2 • Public • Published
npm i @tech-voyager/warden
  • A simple and powerful library for creating discord bots.

on - appeals to events.

examples:

const {
  Client
} = require('@tech-voyager/warden');

const token = "your_token";
const intents = 131071;
const client = new Client(token, intents);

client.on("ready", (data) => {
  console.log(data);
});

client.on("messageCreate", async (message) => {
  if(message.author.bot) return;
  const command = message.content;
  if(content === "!ping") {
    const embed = {
      title: "I love warden!",
      description: "♡"
    }
    message.send([{...embed}]);
  }
});

client.connect();

Package Sidebar

Install

npm i @tech-voyager/warden

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

11.1 kB

Total Files

12

Last publish

Collaborators

  • tech-voyager