Giter Club home page Giter Club logo

gooeyjr's Introduction

GooeyJr

This repo contains an upgraded version of Hubot that was started during Google Code-In 2016 for MovingBlocks. Its goal is to replace the aging Gooey bot that was built on Hubot a long time ago.

See the Hubot Readme for basic details on how Hubot works

Environment setup

Configure and run the bot

So now:

  • Navigate to the GooeyJr repository that you have just cloned
  • Login to Heroku: heroku login - you should be prompted for your account info
  • Create a Heroku application: heroku create <name> --stack cedar where name is all lower case letters, numbers, or dashes
  • Connect the remote Heroku application to your local Git repository: heroku git:remote -a <name> where again name matches what you named your app on Heroku
  • Push this to heroku by entering git push heroku master

Once you've done this, you can now configure the bot by first giving it a nickname that will be displayed on IRC:

  • Type: heroku config:add HUBOT_IRC_NICK="GooeyJr", replacing "GooeyJr" with the nickname you would like the bot to have
    • You probably want to pick a name variant, such as adding your nick to the end of the bot name so that users can see whose bot it is. Take note that there is a limit of 16 characters.
  • Configure the IRC channel it connects to by entering: heroku config:add HUBOT_IRC_ROOMS="#terasology"
  • Lastly, enter heroku config:add HUBOT_IRC_SERVER="irc.freenode.net" so the bot connects to the Freenode server

It should automatically start after you have entered the above commands (there might be a slight delay), but if not try: heroku ps:scale web=1.

To turn off the bot type heroku ps:scale web=0. You can also restart the bot by typing heroku ps:restart web.

If you face any errors, make sure to check the logs by typing heroku logs.

Have fun!

gooeyjr's People

Contributors

mjuvekar7 avatar cervator avatar rzats avatar sufurelite avatar gkaretka avatar benjaminamos avatar setako avatar

Watchers

James Cloos avatar Vaibhav Bajaj 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.