/RandoMon

Primary LanguageJavaScriptMIT LicenseMIT

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