Coder Social home page Coder Social logo

chadev_ircbot's Introduction

Chadev Style Guide

Table of Contents

The Logo

Scalable vector formats of the Chadev logo can be found in this repository in the logo subfolder of the graphics folder. The typeface used for the logo is Chatype at a weight of Medium.

Color Palette

Our color palette is made up of four primary colors.

Chadev Colors

Text

When mentioning Chadev in other texts, it should be capitalized.

License

The Chadev logo and other branding files are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

chadev_ircbot's People

Contributors

acedrew avatar agarzola avatar juzten avatar keathley avatar seabre avatar vendion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chadev_ircbot's Issues

Add a simple note storage

Would be nice for people to be able to leave notes via the bot, with a Ash note key:value or Ash remember key:value and a similar command to pull the note for a given key.

Namespace the bot

Instead of having the bot just listen for certain commands with some kind of character/symbol to denote that it is a command, make it respond to commands with the following syntax noun verb adjectives example chadev-ircbot events to get the next 7 event list.

The name the bot should listen to is currently undecided current suggestions include:

  • Jerry
  • Chad
  • Ash

List of possible new commands

Below is a list of possible new commands, their use is TBD

  • where the party at?
  • who's got your back?
  • your father was a ...
  • what are ...
  • haskell me
  • give me a paper
  • do a flip
  • I like/am ...

Implement restart command

So we don’t have to bug you with it every time the bot is wonky.

I can see this proving useful during development, then once it’s more stable ignore the command unless it comes from a small group of trusted users to avoid abuse.

Move the help text out of Ash?

Currently when Ash help is ran the responses hits FreeNode's flood protection and so some things never actually make it to the channel. Trying to figure out the magic number of milli/nano/seconds to wait between lines can be a PITA. Another thing that having the help text be sent as separate messages does is possibly annoy users who have their client set to alert them when there is activity on the channel when their client is in the background.

To work around these issues, I propose that we move the help text out of Ash and into either a wiki page or a markdown file in the repo that Ash can link to. If we go the markdown file route it can either be its own file or a section in the README.md that can be directly linked to. I know that @keathley put a lot of effort into reworking how the help system currently works so help text is passed in the hear() function, making it easier to define new help items so I wouldn't want to make this change without running it passed you first.

Handle hangout links for Chadev lunch talks

We should probably make Ash store the URL for the Google+ event page or YouTube Live stream for Dev Lunch talks. There should also be a time attached to the URL to avoid Ash from giving a link to a previous talk. The URLs will need to be set through IRC, may be limited to certain Nicks to limit trolling... not sure about that last part though.

Setting live stream URL

To set the URL for a future talk:
Ash devlunch url (date) (URL)
example: Ash devlunch url 2015-02-26 http://youtube.com/...
That would set the live stream URL for next weeks talk, as of 2015-02-19.

To set the URL for the day of the talk:
Ash devlunch url today (URL)
example: Ash devlunch url today http://youtube.com/...
We could probably make the today bit optional and if only a URL is given then assume it is for today.

Getting live stream URL

To get the URL for the lunch talk:
Ash link to devlunch

This has the ability to return different things depending on the situation.

Asking for URL on a day that is not dev lunch day

Should return Sorry today is not dev lunch day.

Asking for URL when there is no URL or an expired URL set

Should return Sorry, I don't have a URL for today's live stream. You can check if it is posted to the Meetup page at (Chadev meetup URL) or find it at our Google+ page at (Chadev G+ URL).

Asking for URL when there is a valid URL

Should return You can access the live stream for the talk here (live stream URL).

Thoughts? I know @kylegordy has been doing an awesome job posting the links to the live stream/video either before/after. Would it be worth it to set the URL in advance and allow people to request it from Ash, this way the URL can be set a day or more in advance meaning one less things to worry about during setup for the talk.

Let the penny collecting start 💰

Add some sort of "brain"

It would be really nice to have something like Redis to store ephemeral data for plugins. What do you think?

Regex is broken on commands

Takes any command regardless of command character (ex: what should be ".events" works if it's " events" or "aevents", etc.)

Ignore punctuation on whois name

Currently, punctuation is taken as part of the name to be whoised. Ash should ignore any non-word character after (and maybe even before?) a name.

Ash who is person_name? should understand that person_name is the name we’re looking for.

Multi-line output does not work

Output that needs to span multiple lines is currently broken, only the first line gets sent. Currently this only affects the help output (.help) but that is about it.

Add log output

Need to add log output so that when errors occur they will be logged for later debugging purposes.

If anyone want to have a go at this, a good way to do this is using the log package, documentation on this can be found here.

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.