Update 'index.js'
This commit is contained in:
parent
9b9e7d6932
commit
a79c2bea0e
1 changed files with 103 additions and 101 deletions
2
index.js
2
index.js
|
@ -92,9 +92,11 @@ client.on('guildMemberRemove', async member => {
|
|||
|
||||
|
||||
client.on('messageReactionAdd', (reaction, user) => {
|
||||
if (user.bot) return
|
||||
rolereact.give(reaction, user);
|
||||
});
|
||||
client.on('messageReactionRemove', (reaction, user) => {
|
||||
if (user.bot) return
|
||||
rolereact.remove(reaction, user);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue