nyx/events/starboard.js
2021-09-21 07:51:56 +08:00

8 lines
295 B
JavaScript

const client = require("../bot");
const starboardclient = require("../client/StarboardClient");
client.on("messageReactionAdd", async (reaction, user) => {
starboardclient.listener(reaction);
});
client.on("messageReactionRemove", async reaction => {
starboardclient.listener(reaction);
});