tudev / owlbot Goto Github PK
View Code? Open in Web Editor NEWTrusty bot. Hack on me.
Trusty bot. Hack on me.
Since Heroku requires 6 hours of downtime for free plans, Owlbot sleeps from 11:59PM - 6AM (the 11:59pm isn't a hard number, but that's when keep-alive pings stop firing off, Heroku will idle and kill the process +/- 10 minutes after that. 6AM is when the wake up is absolutely fired off).
The idea would be to create a complete clone of owlbot that will live in a separate app entirely, but utilize the same redis datastore for complete persistence.
The main challenge here is making sure that both bots aren't awake at the same time as this will result in double messages being posted.
One way to achieve this would be to write a bash script that would kill Owlbot
at a specific time, and startup the clone.
owlbot hackathon-cal add big red hacks
add big red hacks to the list of hackathons that we are collectively attending [this should be a protected command]
owlbot hackathon-cal (list)
All the hackathons that we are collectively attending
owlbot hackathon-cal attending big red hacks
add the user to the attending list for big red hacks
owlbot hackathon-cal remove from big red hacks
if a user can't make it anymore [should only allow an admin or the users themselves to call this]
owlbot demo <thing to demo> (next (code at night|c@n))
owlbot list demos
@RamanjitKhakh let's brainstorm a few things to create here.
Currently we just take a random entry from WELCOME_MESSAGES. We should add some logic to iterate through the list instead, so that no 2 welcomes in a row will have the same message.
To avoid spamming welcome messages when a single person joins chat, the idea solution is to have a queue that fires off welcome messages on a given interval. That's what this does
Although it's not firing every 10 minutes as expected, seems be going once per minute.
I don't know how long since the doc with mentors has been updated, but the survey code doesn't seem relevant anymore (pm-setup.js, survey_results.js)
A tool that can store relevant links to things people frequently need/want.
Ex.
> owlbot store mlh.io/seasons/f2015/events hackathons, mlh
will store the season schedule to both "hackathons" and "mlh"
> owlbot links (about|for) hackathons
Would return the links tagged with "hackathons"
Right now, if Owlbot welcomes a user with a period in the username, it doesn't escape properly Welcome <@U0AL1765|user.name>
is what gets displayed.
A good place to start would be buildUser(username) as well as the portion of code where a new users is pushed into the welcome queue.
owlbot teams
List all teams (by name?)
owlbot teams <team name>
list the members of that team, their current project, and slack channel
owlbot teams <username>
which team is user on?
owlbot teams add
add a team with members
The problem I've noticed is that creating a Slack account automatically throws you in to #general, but that doesn't necessarily mean that you're online and in the chat.
Right now we catch the robot.enter
event (a user joins a channel) and push new users into the queue to welcome them at the next interval -- what would be best is push them into a queue and wait until the next time they come online and welcome them at that time (this could still be batched).
Requires finding a way to detect online status.
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.