so-close-vote-reviewers / socvr-slack-statbot Goto Github PK
View Code? Open in Web Editor NEWSearches through the transcript for a given day and reports back the slack room.
Searches through the transcript for a given day and reports back the slack room.
Messages are moved to other rooms, like the CV graveyard. We need to search through that room as well to get the complete list of CV requests and other stats.
I will need some help on this, mostly about "how do I get moved messages from a particular day."
When docker wants to stop a container its sends a SIGTERM command to the root process in the container. If the container does not exit within 10 seconds it will send a SIGKILL to the container's kernel.
Right now the program can catch Control+c, or SIGINT. This is the "polite" way to stop a program, but won't cut it for docker. I'd like to have the bot exit cleanly.
So far the closest I've gotten is this SO post and this source code file, but I can't get it to compile nor can I effectively debug it.
If you type in some garbage values the bot will break.
And by "break", I mean shuts down.
We need to add some actual error handling. The bot should always try to output to slack, and always try to remain running.
used as a just-in-case, there should be a "stop bot" command. This will shut down the program and the hosting docker container.
So I need your help @ArcticEcho:
I've been doing a lot of re-working on the reorg
branch.
What I need help with is the ParseMessage
method in ChatScraper
. There are other methods in the class which you can ignore (unless they are being used by the ParseMessage
method).
This is the workflow of the method:
ParsedMessageData
object, which it then returns when done.I've got about half of the work done, but you're the better html parser so if you can help me clean it up that would be awesome. The only thing you should need to write is within the ParseMessage
method.
I've set up unit tests for all the return values. Make sure you have the Nunit3 test runner installed as a VS extension and you'll be able to run the unit tests. Once all the tests turn green then we're done (except for revisions).
I'll be in chat tomorrow if you've got questions.
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.