Git Product home page Git Product logo

irc_bots's Introduction

irc_bots

irc_bots

Description

This is a IRC bot with various bot plug-ins.

There are currently these plugins:

Ascii bot

Scroll ascii art

Cowsay bot

Make a cow say something

Google bot

Return a link to the first google result for a query

Help bot

Scroll a list of commands

Opbot

Op a paticular user when the command is given

Roulette Bot

A user has a 1 in 6 chance of being kicked from the room. If the user successfully executes this command 12 times in a row without being kicked, the user is given op status.

Slap bot

Allow users to slap other users. Everytime a user is slapped, 10 hp is taken away. Once the user reaches 0 hp, he or she is kicked from the room. Users may also heal other users in increments of 10. A user may check his or her hp with the hp command.

Tiny URL bot

Respond with a tiny url for a long url sent to the room.

Urban bot

Return the first defintion of a word or phrase from Urban Dictionary.

Installation

The following are required for running irc_bots (Ubuntu/Debian):

sudo apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8
sudo apt-get install libreadline-ruby1.8 libruby1.8 libopenssl-ruby
sudo apt-get install libxslt-dev libxm12-dev
gem install nokogiri
gem install cinch

You also are required to provide the necessary credentials to access the server in a creds.rb file in the project root directory. The creds.rb should have the following format:

class Creds 
  def self.server 
    "irc server location" 
  end 

  def self.nick 
     "bot_nick" 
  end 

  def self.password 
    "password" 
  end 

  def self.channels 
    ["#channel1", "#channel2"] 
  end 
end

irc_bots's People

Contributors

mnipper avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

rpdmatt

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.