1.0.3 • Published 3 years ago

randomon v1.0.3

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

RandoMon

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