botyo-command-reverse-image-search
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Reverse Image Search Command for Botyo

npm npm npm

The Reverse Image Search Command for Botyo runs a reverse image search on the last uploaded picture and posts links to the results on Google Images, Bing Images, and TinEye.

Usage

#reverse

Install

Step 1. Install the module from npm.

npm install --save botyo-command-reverse-image-search

Step 2. Register the module.

import Botyo from "botyo";
import ReverseImageSearchCommand from "botyo-command-reverse-image-search"
 
Botyo.builder()
    ...
    .registerModule(ReverseImageSearchCommand)
    ...
    .build()
    .start();

Configuration & URL Shortening

The Reverse Image Search Command has some sensible defaults and need not be explicitly configured. However, the module supports URL shortening using goo.gl. If you want to use this feature, you need to obtain an API key and configure it in your configuration file config.yaml:

modules:
  ReverseImageSearchCommand:
    recentMessagesCount: 20          # how many recent messages to search for photos (default: 20) 
    shortenUrls: false               # should it shorten result URLs (default: false) 
    googlApiKey: YOUR_GOOGL_API_KEY  # goo.gl API key (optional if shortenUrls is false, otherwise required) 

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i botyo-command-reverse-image-search

Weekly Downloads

1

Version

2.0.0

License

Apache-2.0

Unpacked Size

26.3 kB

Total Files

16

Last publish

Collaborators

  • ivkos