1337m/lemming-giphy

The Giphy extension for Lemming the Discord bot.

0.0.1 2016-10-02 17:40 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:51:54 UTC


README

A plugin command, to the Lemming the Discord Bot.

Installation

This plugin, can be simply installed with the composer package.

composer require 1337m/lemming-giphy

Once, plugin is one of our dependencies, you can register it by referencing our library, in the config/commands.php in your package.

Like so:

<?php

return [

    // Register Giphy plugin.
    'gif' => [
        'action' => Lemming\Giphy\Command::class
    ],

];

In order for the plugin to work for you, go to the GiphyAPI and request a new key; or use the public API key: dc6zaTOxFJmzC.

Once you obtain the key you'd like to use, make sure to add it to your .env file, so lemming can authorise the API.

GIPHY_API_KEY=dc6zaTOxFJmzC

Licence

Lemming and it's official plugins are open-sourced software licensed under the MIT license.