/GiphyMaubot

Generates a gif given a search term, a plugin for Maubot for matrix.

Primary LanguagePythonMIT LicenseMIT

Giphy Maubot

A simple maubot that generates a random gif given a search term.

Setup

  1. Get API key from giphy
  2. Fill in api_key field in base-config.yaml config file or in online maubot config editor
  3. Decide what endpoint to get random gifs from (e.g. trending, random) in config file
  4. Choose a response type:
  • message will send a regular message to the room
  • reply will send a quoted reply message to the room
  • upload will actually upload the GIF as an image to the room

Usage

'!giphy word' - Bot replies with a link to a gif given the search term '!giphy' - Bot replies with a link to a random gif