0.0.2 • Published 2 months ago

@tech-voyager/warden v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago
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();
0.0.2

2 months ago

0.0.1

2 months ago