@tech-voyager/warden
v0.0.2
Published
A powerful library for creating discord bots. Offers a new structure and convenient library!
Downloads
6
Maintainers
Readme
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();