Socket
Socket
Sign inDemoInstall

dbot

Package Overview
Dependencies
30
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dbot

IRC bot


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
14.2 MB
Created
Weekly downloads
 

Readme

Source

#dbot

dbot is a node.js-powered IRC bot designed to provide command-line utilities available by PMing it.

Setup

npm install # install dependencies
npm start # run bot

Configuration

dbot relies heavily on the irc package, and as such pretty much all of its configuration goes straight to it, with the exception of the plugins array (read on to learn more about these). Its only function is passing data around, hence the absence of tests for the bot itself.

See the config.json file to start tweaking the bot to suit your needs and fulfill your desires.

Plugins

A plugin corresponds to a functionality the bot offers : it comprises a description, a regex representing the command to watch for and a callback function, which returns a promise (using the deferred package) holding the message to send back.

Plugins are distinct packages you need to install, which are automatically required by name (dbot-*). Here is a list of currently available plugins :

  • dbot-dfill, a placeholder text generator
  • dbot-dpaste, an online content paster
  • dbot-h5p, an html5please API client
  • dbot-list, a plugin that retrieves the list of available plugins
  • dbot-url, an URL shortener

Collaboration

You are very welcome to help me enhance the bot further or write new plugins.

FAQs

Last updated on 05 Jul 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc