generated from Baipyrus/DiscordJS-Template
initialize reaction events
This commit is contained in:
parent
e67a846fa4
commit
713135a021
6
events/reactionAdd.js
Normal file
6
events/reactionAdd.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { Events } from 'discord.js';
|
||||||
|
|
||||||
|
export const name = Events.MessageReactionAdd;
|
||||||
|
export async function execute(messageReaction, user) {
|
||||||
|
console.log(messageReaction, user);
|
||||||
|
}
|
6
events/reactionRemove.js
Normal file
6
events/reactionRemove.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import { Events } from 'discord.js';
|
||||||
|
|
||||||
|
export const name = Events.MessageReactionRemove;
|
||||||
|
export async function execute(messageReaction, user) {
|
||||||
|
console.log(messageReaction, user);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user