A simple maubot that generates a random gif given a search term.
- Get API key from giphy and klipy
- Fill in
giphy_api_keyandklipy_api_keyfield in base-config.yaml config file or in online maubot config editor - Decide what (giphy) endpoint to get random gifs from (e.g. trending, random) in config file
- Choose a response type:
messagewill send a regular message to the roomreplywill send a quoted reply message to the roomuploadwill actually upload the GIF as an image to the room
!gif word - Bot replies with a link to a gif given the search term
!gif - Bot replies with a link to a random gif
Also, !giphy, !g and !klipy may be used.
- Tenor API has been shutdown, so I've replaced it with Klipy