GithubHelp home page GithubHelp logo

gvobot's Introduction

gvobot's People

Contributors

glenwinters avatar

Watchers

 avatar  avatar  avatar

gvobot's Issues

Add random suggestion capability

If the bot can look up a webpage or integrate with other APIs, it could be useful to get it to offer suggestions. Things like:

  • a random song (taken from a list somewhere? dunno where that could come from)
  • a random recipe (if a webpage has a list of recipes, just randomly pick one of them and give the URL)
  • a random number or letter in a certain range

"!science" to science the last response

The bot should science its last response, unless it's already scienced*. Since the default behavior is to science things, this is only for sciencing the output of commands.

Examples:

person: @gvobot hello
gvobot: H.E.L.L.O.
person: !science
gvobot: You've gone too far!
person: @gvobot pinch a cow's udder 2 times
gvobot: reblochon
person: !science
gvobot: R.E.B.L.O.C.H.O.N.
person: !science
gvobot: You've gone too far!

*If we dare to go further:

person: @gvobot hello
gvobot: H.E.L.L.O.
person: !science
gvobot: H.e,L.l,O.
person: !science
gvobot: You've gone too far!

Add support for /me at the beginning of a message

Right now, if you start a mention with /me, gvobot replies with "/M.E." at the start of the message. Either stop it from sciencing that, or add some command that makes it prepend /me, so we can get the bot to do actions. Not sure at this point whether the action itself should be scienced or not.

rereblochon

Respond to any message with "reblochon" with "Did you mean rereblochon?".

Add improvements to GRINDIE VOLUME ONE atmosphere

To improve on the GRINDIE VOLUME ONE atmosphere, the bot could use enhancements such as the following:

  • At various intervals between 1 and 10 minutes, remind conversation participants what this is.

  • At various intervals between 1 and 10 minutes, simulate gunshots.

Conversation management

The bot is currently only replying to messages. In order to send messages otherwise, it needs to know the conversation ID. It can create a new conversation and use its ID or it can use an ID from an existing conversation by inspecting one of the messages.

Rough idea:
Keep track of all active conversations in the database and a few attributes (such as pow_pow_pow_pow_enabled). We also want to listen for the activities of conversationUpdate (particularly when the bot was added to a conversation) and `endOfConversation) and update the database accordingly.

Reference

Group chat doesn't work

When the bot is added to a group chat, it doesn't respond at all. Logging all "activities" in the bot API shows nothing.

Ideas:

  • A separate listener is required for group chat
  • Group chat has to be enabled (this is true on the microsoft bot framework page, but it's enabled there now)

gvobot S.C.I.E.N.C.E.-ifies spaces and dots

gvobot does not distinguish between text and whitespace characters when inserting science dots after each character, and it also does not check to see if the character is already a dot. For example:

"testing 1... 2... 3..."

becomes

"T.E.S.T.I.N.G. .1....... .2....... .3......."

bot monitor bot

We could have a simple second bot that monitor's this bot. The bot API has a ping command that checks to see if a bot is up and running. If we wanted to get fancy, we could even return the status of the latest heroku build or github push.

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.