Code Monkey home page Code Monkey logo

polybot's Introduction

#Polybot

polybot banner

a work-in-progress hangouts bot written with hangupsjs, with a focus on variety of modules and ease of use.

It's primarily focused on groupchat-related functionality.

You can try its hosted demo on google+.

Uses chat_modules to interact with an abstraction of the hangupsjs api. Events are sent from an eventemitter in index.js.

##Functions

Command Function
(jpe?g/png/gif hotlink) an inline version of the linked image
(tweet link) an inline tweet including username and tweet text
(/r/* or r/*) a link to * subreddit and a description
twitch emote responds with * emote from twitch.tv
twitch.tv/* responds with current thumbnail from twitch channel *
.yt * a youtube link from the * search query
.t * a phrase (*) google translated to english
.c * a mathjs compatible * expression
.wiki * a fuzzy case sensitive * title of a wikipedia article
.d * an oxford dictionary definition for *
.ud * an urban dictionary definition for *
.a * show * ascii emote
.p * respond with * copypasta
.s * send a sticker matching * as the title. if the message is simply .s, a list of every sticker is returned
.gif ({i}) * searches giphy for a random gif pertaining to *, and sends it. ({i}) is optional, where {i} is the index of the gif [1-*]
.rainbow make the chat rainbow color
.celebration a party that simply cannot be stopped once started
.halloween a halloween celebration.
.zalgo * responds with a zalgolized version of *
.8 * makes an 8 ball decision based on the * question
.rename * renames the current chat to *
.weather * a wunderground location * which can be either a zipcode or a location name
.timer * a timer which counts down * seconds and then notifies when reaching 0
.topwords analyses up to 10,000 previous messages to generate a word count
.stats gives statistics for poly bot
.markov * generates a 10 word markov chain for the member having name *
*poly* any mention of poly will make it focus the current chat
.ref links to this page
.leave exits the (group) chat.

polybot's People

Contributors

maxkrieger avatar ninja3047 avatar

Watchers

 avatar

Forkers

leedia

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.