Code Monkey home page Code Monkey logo

iris-bot's Issues

Bot will have "nothing to say" if a phrase does not have a response for a particular mood

Response generator: if a phrase does not have a value for a specific mood, the bot will respond with the error response "Nothing to say..."

example:

  1. Bot mood +100 - happy
  2. Phrase: genericPhrase:
mood response
none Response1
none Response2
none Response3
sad SadResponse

When this phrase is requested, according to the documentation the fallback none responses (Response1, Response2, Response3) should be chosen.

Actual behaviour: the bot will only respond with "Nothing to say..."
Expected behaviour: the bot will respond with Response1, Response2 or Response3

Feature request: jokes

Request from server:

would also be fun if she (skye) could tell jokes. like we could ask for a joke and she would say one

Long-running async tasks can have their responses posted in the wrong place

If a long-running fetch task occurs (i.e. getting an image for a command) and more messages arrive before the API response is received, the cached "last message" is updated and the channel the response is sent to will change.

i.e.:
Channel 1 userA: +get-slow-api-response
*bot begins data request
Channel 2: userB: anything
*API returns results, bot processes
Channel 2: bot: api response

This means the bot can potentially post a response to a request in a different server.

Blog roll feature polls too often and logs

The blog roll feature that polls for journal updates currently has an interval of 5 minutes. This timespan should be configurable to not DDOS the journal API.

It also has verbose logging which should be tweaked to prevent event log spam when running on production environments.

No centralised way to persist settings

Each personality plug-in persists its settings in a different way. The bot’s settings API should be extended to allow for consumers to persist their settings in a consistent manner to a central store.

It is possible to invoke an addressed response by using {£me} keyword

If the call/response table has any addressed calls, it is possible to invoke that call without addressing the bot.

Consider the Call/Response pair:

Call Response
{£me} prompt My response

The intent is that you can address the bot by sending the message botname prompt to which it will respond with My response.

However, it is also possible to get the same response by sending the text {£me} prompt. This is not intended behaviour and so should be fixed.

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.