11.0.1 • Published 11 months ago

@m3rcena/weky v11.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Install

Latest stable Version: v11.0.1

npm install --save @m3rcena/weky

Documentation

Check out the Documentation

Used in:

Features

  • 🧑 Beginner friendly

  • 🎉 Easy to use

  • 🔘 Discord Buttons

  • 🤖 Supports Discord.js v14

  • ✂ Fully Customizable

  • and much more!

Usage 📚

const { Client, GatewayIntentBits } = require("discord.js");

const { WekyManager }= require("@m3rcena/weky");

const client = new Client({
    intents: [
        GatewayIntentBits.Guilds,
        GatewayIntentBits.GuildMessages,
        GatewayIntentBits.MessageContent,
    ]
});

client.on("ready", async (cl) => {
    console.log("Bot is ready");
    client.wekyManager = new WekyManager(cl); // Initialize Weky Manager
});

client.on("messageCreate", async (message) => {
    if (message.author.bot) return;
    if (message.content === "w!calculator") {
        client.wekyManager.createCalculator({
            interaction: message,
            client: client,
            embed: {
                color: "Blurple",
                title: "Calculator | M3rcena Development",
                timestamp: new Date(),
            }
        })
    };
});

client.login('Your bot Token');
import { Client, GatewayIntentBits } from "discord.js";

import { WekyManager } from "@m3rcena/weky";

export interface ExtendedClient extends Client {
    wekyManager: WekyManager;
};

const client = new Client({
    intents: [
        GatewayIntentBits.Guilds,
        GatewayIntentBits.GuildMessages,
        GatewayIntentBits.MessageContent,
    ]
}) as ExtendedClient;

client.on("ready", async (cl) => {
    console.log("Bot is ready");
    client.wekyManager = new WekyManager(cl); // Initialize Weky Manager
});

client.on("messageCreate", async (message) => {
    if (message.author.bot) return;
    if (message.content === "w!calculator") {
        client.wekyManager.createCalculator({
            interaction: message,
            client: client,
            embed: {
                color: "Blurple",
                title: "Calculator | M3rcena Development",
            }
        })
    };
});

client.login("Your bot token");

Result 📤

Contributing 🤝

  • Contributions, issues and feature requests are welcome!
  • Feel free to check issues page

Support ❔

Developers 👨‍💻

Contributors

10.4.1

12 months ago

10.4.2

12 months ago

10.0.0

1 year ago

10.0.1

1 year ago

10.2.0

1 year ago

9.2.0-dev.3.0

1 year ago

10.4.0

12 months ago

9.2.0-dev.1.0

1 year ago

9.1.0

1 year ago

11.0.0

11 months ago

11.0.1

11 months ago

10.1.0

1 year ago

9.2.0-dev.4.0

1 year ago

10.3.0

1 year ago

9.2.0-dev.2.0

1 year ago

10.3.1

1 year ago

9.0.0

1 year ago

8.9.0

1 year ago

8.9.2

1 year ago

8.9.1

1 year ago

8.8.1

2 years ago

8.8.0

2 years ago

8.4.1

2 years ago

8.4.0

2 years ago

8.6.1

2 years ago

8.6.0

2 years ago

8.1.0

2 years ago

8.3.0

2 years ago

7.0.0-beta.1.3

2 years ago

7.0.0-beta.1.2

2 years ago

7.0.0-beta.1.1

2 years ago

8.7.2

2 years ago

8.7.1

2 years ago

8.7.4

2 years ago

8.7.3

2 years ago

8.5.0

2 years ago

8.7.0

2 years ago

8.5.2

2 years ago

8.5.1

2 years ago

8.7.5

2 years ago

8.0.0

2 years ago

8.2.1

2 years ago

8.2.0

2 years ago

8.0.0-beta.1.1.5

2 years ago

8.0.0-beta.1.1.6

2 years ago

8.0.0-beta.1.1.3

2 years ago

8.0.0-beta.1.1

2 years ago

8.0.0-beta.1.1.4

2 years ago

8.0.0-beta.1.0

2 years ago

8.0.0-beta.1.1.1

2 years ago

8.0.0-beta.1.1.2

2 years ago

6.5.0

2 years ago

6.3.0

2 years ago

6.4.0

2 years ago

6.2.1

2 years ago

6.2.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.3.1

2 years ago

4.3.0

2 years ago

4.2.2

2 years ago

4.2.1-dev

2 years ago

4.2.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

4.1.0

2 years ago

4.0.0

2 years ago