jbrowneuk / iris-bot Goto Github PK
View Code? Open in Web Editor NEWDiscord version of my slack chatbot, rewritten from the ground up
License: MIT License
Discord version of my slack chatbot, rewritten from the ground up
License: MIT License
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:
happy
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
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.
Each command states it needs a URL which is incorrect.
Using +hm guess <wrong word>
shows the game embed as opposed to a message saying the guess was incorrect.
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.
Embed should show a visual representation of the game state.
Consider the images on Wikipedia.
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
Make the streak, wins and losses fields inline:
Streak | Wins | Losses |
---|---|---|
x | y | z |
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.
v0.4.5
)npm install
, npm test
- all passnpm update
npm test
- no specs foundThe package we use to query server statuses is deprecated and should be replaced as per the documentation at https://www.npmjs.com/package/minecraft-server-util
By moving to the new API we can reduce the complexity of the Minecraft server status plugin.
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.
The hangman game embeds read like so:
--A-
(4 letters)
10 chancess left
The chancess text is double pluralised despite claiming to fix it in #90
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.