randomon

1.0.3 • Public • Published

RandoMon

NPM Version GitHub issues NPM npm Discord GitBook NPM

The principal function for this package is handle all URLs sended by users on a server and delete it if you want.

Support

GitBook Page You can contact us on your Discord server

Installation

Using NPM:

npm install randomon

Using Yarn (Linux):

yarn add randomon

Examples

Basic use

const Discord = require('discord.js');
const client = new Discord.Client();
const RandoMon = require('randomon'); // Js


client.once('ready', () => console.log('Bot is online!'));

client.on('message', async message => {
    if(message.content=="!random") {
        let randomImage = RandoMon(); // Generate the image
        message.channel.send(randomImage); // Send the image
    }
});

client.login('TOKEN_HERE');

License & Credits

Made with @aonsager website. Web

MIT

Package Sidebar

Install

npm i randomon

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

3.98 kB

Total Files

4

Last publish

Collaborators

  • kevinava