err-catto/README.md

22 lines
666 B
Markdown
Raw Permalink Normal View History

2018-08-26 10:33:32 -04:00
# Catto
This is a plugin for [Errbot](http://errbot.io/) that fetches random cat images from the [The Cat API](http://thecatapi.com/)
Users can optionally specify whether to fetch a `gif` (animated) or a `still` (jpg/png) image:
2018-08-26 11:02:54 -04:00
## Usage:
2018-08-26 10:33:32 -04:00
- `!catto` Fetches a random cat image, animated (gif) or still (jpg/png)
- `!catto gif` Fetches a random cat animated gif image
- `!catto still` Fetches a random cat still jpg/png image
- `!catto jpg` Fetches a random cat jpg image
- `!catto png` Fetches a random cat png image
## Configuration:
It's possible to use your own Cat API key. Configure with:
```
!plugin config Catto {'CATAPI_KEY': 'your-api-key-here'}
```