Socket
Socket
Sign inDemoInstall

randomon

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    randomon

Generates random images of Pokemon


Version published
Weekly downloads
8
increased by100%
Maintainers
1
Install size
3.89 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 05 Jan 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc