nyx/events/starboard.js

9 lines
283 B
JavaScript
Raw Normal View History

const client = require("..");
2021-09-21 01:51:56 +02:00
const starboardclient = require("../client/StarboardClient");
client.on("messageReactionAdd", async reaction => {
2021-09-21 01:51:56 +02:00
starboardclient.listener(reaction);
});
2021-09-21 01:51:56 +02:00
client.on("messageReactionRemove", async reaction => {
starboardclient.listener(reaction);
});