GithubHelp home page GithubHelp logo

botbot's Introduction

#BotBot

One bot to rule them all...

Please note: RubyBot is now deprecated. Please upgrade to BotBot :^)

botto

##What is BotBot? BotBot is the 3rd generation of IRC bots I've written. He is a general utility/humor bot for use in any IRC channel. He is currently running on Rizon. He is mainly a tool for me to learn and try out new things in Ruby when I don't have a specific project in mind. He uses a lot of neat things like metaprogramming, dynamic creation of functions, and more!

##Running locally

BotBot can be run from localhost. Simply clone the repo, edit the $bot params (this will eventually be a config file...). Provide him with an irc server address, port number (typically 6667, no SSL support yet!), a channel name and a nickname. Start him up in your terminal via ruby BotBot.rb and he will join your channel!

##Deploying on Heroku

BotBot can also be run on a Heroku Cedar stack instance - even a free one! To do this, clone the repo and copy the instructions above. Instead of running the ruby script in your local terminal, create a Heroku project, git add, git commit and git push BotBot to your remote Heroku repo. Then in your terminal issue heroku ps:scale bot=1 to spin up a dyno for BotBot (his Procfile is already properly configured for this). He should join your channel soon after. If you run into problems, run heroku logs or try to deploy locally and debug.

Running on Heroku allows you to test new features locally in dev and then git push to Heroku once you have finished your feature. Heroku will automagically terminate the current instance of BotBot, fetch the new repo and updated code and re-launch him - you don't have to do anything!

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.