@spyte-corp/discord.js-remove-on-reaction
v1.0.5
Published
You can use this, to remove a message, even with an embed or image, just when someone adds a reaction to it.
Downloads
74
Readme
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)
})