/module-linksniffer

Provides details about links posted in a channel

Primary LanguagePHPMIT LicenseMIT

LinkSniffer Module

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads

This module shows information about a link when it is posted in a channel.

System Requirements

This module requires the json php extension for various sub-modules to work.

Installation

To install this module, we will use composer:

composer require wildphp/module-linksniffer

That will install all required files for the module. In order to activate the module, add the following line to your modules array in config.neon:

- WildPHP\Modules\LinkSniffer\LinkSniffer

The bot will run the module the next time it is started.

Configuration

It is possible to blacklist this module in certain channels. For this, add the following snippet to your config.neon:

disablelinksniffer:
        - '#channel1'
        - '#channel2'

Usage

This module does not have additional usage information.

License

This module is licensed under the MIT license. Please see LICENSE to read it.