1.0.5 • Published 2 months ago

@darkcord/collectors v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Darkcord Collectors

Example

import { Client } from "darkcord";
import { CollectorPlugin } from "@darkcord/collectors";

const client = new Client("TOKEN", {
    gateway: {
        intents: [YOUR_INTENTS]
    },
    plugins: [CollectorPlugin]
});

client.on("messageCreate", (message) => {
    if (message.content === "!reactions") {
        const collector = message.createReactionCollector();

        collector.on("collect", collected => {
            console.log(collected.reaction);
        });
    }
})

client.connect();
1.0.5

2 months ago

1.0.4

3 months ago

1.0.2

8 months ago

1.0.3

8 months ago

1.0.1

1 year ago

1.0.0

1 year ago