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();
-
Notifications
You must be signed in to change notification settings - Fork 0
The official collector plugin for darkcord lib
License
darkcordjs/collectors
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The official collector plugin for darkcord lib
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published