1.0.5 • Published 6 years ago
@spyte-corp/discord.js-remove-on-reaction v1.0.5
How to use:
//Firstly you need to require discord.js and log in etc.
const reactionrem = require('discord.js-remove-on-reaction')
client.on("message", message => { //that's from discord.js
message.channel.send('Test') // send a test message IMPORTANT: DON'T ADD ;
.then(botmessage => reactionrem(message, botmessage, true)) // botmessage is the message from .then and can be different, and message is from client.on("message") true/false - if only the message author can remove it (default true)
})