Giter VIP home page Giter VIP logo

nerdbot's Introduction

Nerd-bot

This is The Nerdery's Hubot. Nerds: Hop in the "Nerd Bot" room if you have questions.

Running locally (OSX)

Prerequisites:

  • Install Homebrew (http://brew.sh/) ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • brew install node
  • brew install icu4c
  • brew install redis
  • chmod 755 bin/hubot

To run, start redis and initialize with a shell

redis-server /usr/local/etc/redis.conf &

bin/hubot -a shell

To test your scripts, type commands such as hubot howdy

Hubot> hubot howdy
Hubot> Good 'aye!, Shell
Hubot> Shell: Hubot at your service!

Contributing

To add new commands, find an existing Hubot script, or write your own:

  • Fork the repo, and clone it locally.
  • Add .coffee file to scripts folder
  • Push to your fork and submit a pull request.
    • It is considered good form to add a pun to pun.coffee with every pull request

nerdbot's People

Contributors

amarasco avatar amorger avatar apticknor avatar bendetta avatar chadmetcalf avatar cmetcalf-nerdery avatar damionbroadaway avatar dly avatar jeremy-nerdery avatar justinmullin avatar kingchills avatar pb30 avatar tvanfosson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nerdbot's Issues

Feature Request: Export gif story

I would like to see the nerdbot output a video story of a chatroom by collecting (or storing in realtime) all the gifs for a particular chatroom, and then building a video out of them.

If someone gets to this before me (highly likely) please feel free to implement this.. otherwise I will be working on a PR when I find time.

Bad Puns

I find a couple of the puns to be in poor taste and would be glad to see them replaced. Specifically:

"A soldier who survived mustard gas and pepper spray is now a seasoned veteran."
"Why were the Indians here first? They had reservations."

Hearth/Hearthgold: Typo in Nerdbot's response when requesting a non-existent card.

Issue Description:

When performing nerdbot hearth or nerdbot hearthgold and providing a cardname that does not exist (such as "Ancient Silverback"), Nerdbot's response is "No card with this namo."

Expected Behavior:

"Name" is spelled correctly in Nerdbot's response.

Steps to Reproduce:
  1. Join a room with Nerdbot in it.
  2. Send the message "nerdbot hearthgold Giant Fuzzy Death Machine".
  3. Observe Nerdbot's response is "No card with this namo."

Nerdbot karma has issues with @mentions

About 80 % of the time, nerdbot will ignore some karma requests if they include an actual user's mention.

These are the situations we've encountered:

nerdbot karma empty @username
nerdbot karma @username

Strangely, the following work perfectly:

@username++
@username--

the best way to get these to work is joining a private room where @username is not present, therefore it does not get converted to an actual mention.

Reduce noise in work channels

Please reduce the nerdbot channel spam for project and language-related channels.

There is currently no way to filter or ignore individual users in hipchat, and the amount of noise that bot commands and responses produces lands somewhere irritating and can-we-have-botless-irc-back-please.

Suggested nerdbot work-related features to retain in these rooms:

Suggested nerdbot features to remove:

</grumpy old man>

Hubot converting '&' to '&amp;' - breaks some image links in Hipchat web client

When hubot prints a message, ampersands are URL encoded, which is improper for Hipchat, and breaks some image links ("Failed to load the image"). To reproduce, try 'nerdbot cast storm crow' in the Hipchat web client. The resulting image response from Nerdbot should fail to load.

The native client seems to load these URLs successfully, I only see this issue in the web client. I assume this is related to hipchat/hubot-hipchat#247 and can be addressed by updating the hubot module.

Karma -- is too greedy

People often unintentionally trigger the "--" karma command by using double dashes as a separator in a sentence. Command should maybe only listen to nerdbot mentions, or not match against the pattern if there is whitespace before and after.

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.