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 11:35:13 -04:00
|
|
|
|
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
|
2018-08-26 10:46:22 -04:00
|
|
|
- `!catto jpg` Fetches a random cat jpg image
|
|
|
|
- `!catto png` Fetches a random cat png image
|
2018-08-26 11:35:13 -04:00
|
|
|
|
|
|
|
## Configuration:
|
|
|
|
|
|
|
|
It's possible to use your own Cat API key. Configure with:
|
|
|
|
|
|
|
|
```
|
|
|
|
!plugin config Catto {'CATAPI_KEY': 'your-api-key-here'}
|
|
|
|
```
|