1.1.0 • Published 4 years ago

brobbot-reddit-image v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

brobbot-reddit-image

A brobbot plugin for image searches.

brobbot image <query>

Searches Reddit for query and returns an image result's URL.

Configuration

This plugin requires a Reddit app of type 'script' to be configured.

App ID

BROBBOT_REDDIT_IMAGE_APP_ID=ID

Set the app ID used to connect to the Reddit API. See https://github.com/reddit-archive/reddit/wiki/OAuth2

App secret

BROBBOT_REDDIT_IMAGE_APP_SECRET=SECRET

Set the app secret used to connect to the Reddit API. See https://github.com/reddit-archive/reddit/wiki/OAuth2

Username

BROBBOT_REDDIT_IMAGE_USERNAME=USERNAME

Set the username used to connect to the Reddit API. See https://github.com/reddit-archive/reddit/wiki/OAuth2

Password

BROBBOT_REDDIT_IMAGE_PASSWORD=PASSWORD

Set the password used to connect to the Reddit API. See https://github.com/reddit-archive/reddit/wiki/OAuth2

Sort (optional)

BROBBOT_REDDIT_IMAGE_SORT=SORT

Set the sort method passed to the Reddit API. E.g. hot, new, relevance. Default is relevance.