Code Monkey home page Code Monkey logo

anope-modules's Introduction

anope-modules

m_webhooks

This module adds remote webhook support to Anope for certain events.

  • ns_register
  • ns_drop
  • ns_group

Dependencies

m_webhooks depends on the following external libraries (and their development headers):

  • libcurl4

Installing

To install m_webhooks:

  • Place the cpp file inside $anope_source_dir$/modules/third/
  • cd $anope_source_dir$
  • ./Config
  • make
  • make install
  • Add the module enabling code to your modules.conf

Configuration

The following is the default config for this module

module
{
	name = "m_webhooks"
	webhook = ""

	ns_drop = "no"
	ns_register = "no"
	ns_group = "no"

	timeout = "5"
	connect_timeout = "5"
}

webhook

URL to the endpoint that will be called when an event is fired.

Example: https://www.example.com/hook

ns_drop, ns_register, ns_group

Toggles for events to hook, or not.

timeout

How long to wait for a response from the endpoint while calling it.

connect_timeout

How long to wait for the socket to connect to the endpoint.

anope-modules's People

Contributors

kaecyra avatar

Stargazers

 avatar

Watchers

Alex Sørlie avatar  avatar Trezy avatar James Cloos avatar Aki Loponen avatar  avatar Cameron Welter avatar Kenneth Aalberg avatar Peter "Marenthyu" Fredebold avatar NoLifeKing avatar

Forkers

h7-25 simosnap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.