Code Monkey home page Code Monkey logo

ircbot's Introduction

This is an IRCBot, focused on being modular, easy to extend, and easy to update without restarting. Plugins interface with the bot in two ways:

Commands can be registered by plugins, and are automatically recognized by the bot from private messages and notices. A plugin is required to declare a command prefix, which prevents command collisions. Example: The core module uses the prefix '!', the bot uses '$' to recognize commands, so the core mute command is triggered as '$! mute'.

Events are fired by the bot on different occasions. Plugins can register event listeners to provide options that can't be covered by commands.

The bot requires a Core module to start, to enable restartless updating even of core features. Any module with a filename that matches Core(\.[^\\.]*)? can be used as such a module. A default implementation can be found at https://github.com/Boreeas/ircbot-core. Core modules can define any command and feature, but are encouraged to provide the following functionality:

  • Join/Leave channels
  • Stop the bot
  • Manage plugins
  • Manage access levels
  • Mute the bot on a per-channel basis
  • Send raw text to the netword
  • Access the help texts for plugins and commands

ircbot's People

Watchers

strangeglyph avatar  avatar

ircbot's Issues

Channel access does not work

OPs are not correctly identified as such and therefore can't invoke some channel-specific commands (like !!pref)

Some NOTICEs aren't sent

Sometimes, the bot tries to send notices, but they never appear in the channel or for the user.

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.