DiscordJS-Example/events/reactionRemove.js

9 lines
286 B
JavaScript
Raw Normal View History

2024-01-26 19:23:45 +00:00
import { Events } from 'discord.js';
export const name = Events.MessageReactionRemove;
2024-01-28 17:33:03 +00:00
export async function execute(reaction, user) {
const uname = user.username;
const rname = reaction._emoji.name;
console.debug(`[DEBUG] User '${uname}' removed reaction of emoji '${rname}'.`);
2024-01-26 19:23:45 +00:00
}