1.0.2 • Published 5 years ago

discord-lazyreply v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

npm version npm downloads

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

Links

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago