Git Product home page Git Product logo

hbot's Introduction

hbot

About

IRC bot written in Haskell.

Features

Admin Commands (available from the terminal):

  • help [command-name] -- if no argument given, prints list of admin commands, else prints help for specific admin command
  • msg <channel/user> <message>[...] -- sends a message to the specified destination
  • leave <channel> -- leaves the specified channel
  • join <channel> -- joins the specified channel
  • channels -- lists currently joined channels
  • nick <new-nickname> -- changes the bot nickname
  • kick <channel> <user> [<message>[...]] -- kicks the user from the channel, if no message is given it defaults to bot-username
  • ban <channel> <user> <ban-mask> [<message>[...]] -- kickbans the user from the channel, if no message is given it defaults to bot-username
  • mode <channel/user> <flags> <args> -- sets the mode of the thing

User Commands (available to all connected to the same channel as hbot):

  • help [command-name] -- if no argument given, prints list of user commands, else prints help for specific user command
  • echo <argument>[...] -- prints all given argument(s)
  • dictionary-list -- lists all dictionary entries
  • dictionary-update <key> <definition>[...] -- adds or updates a word and its definition in the dictionary
  • dictionary-remove <key> -- removes a word and its definition from the dictionary

Other things:

  • multiple channel support
  • simple config file
  • web page title displaying

User commands are prefixed with !, dictionary definition requests are prefixed with @, and admin commands are unprefixed.

License

MIT

See LICENSE.md in the root directory for more information.

hbot's People

Contributors

snowdrop4 avatar

Watchers

 avatar

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.