@spyte-corp/discord.js-remove-on-reaction

1.0.5 • Public • Published

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)
})

Everything works fine, i believe there is no timeout. Errors? Contact me on neoney#5816!

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @spyte-corp/discord.js-remove-on-reaction

      Weekly Downloads

      20

      Version

      1.0.5

      License

      ISC

      Unpacked Size

      1.56 kB

      Total Files

      4

      Last publish

      Collaborators

      • neoney
      • spyte