nyx/events/starboard.js

9 lines
295 B
JavaScript
Raw Normal View History

const client = require("../bot");
2021-09-21 01:51:56 +02:00
const starboardclient = require("../client/StarboardClient");
client.on("messageReactionAdd", async (reaction, user) => {
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);
});