1.0.2 • Published 5 years ago
discord-lazyreply v1.0.2
About
A discord.js module for sending messages with delay.
Installation
npm i discord-lazyreply
Example usage
import LazyReply from 'discord-lazyreply';
client.on('message', (message) => {
if (message.author.bot) return;
// make an instance of the LazyReply class
const lazy = new LazyReply();
// send method
lazy.send('This message will be sent after 10 seconds', message, 10000);
// reply method
lazy.reply('This reply will be sent after 20 seconds', message, 20000);
});