-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gitterbot to remaining FCC rooms #148
Comments
this should be as simple as adding to list of rooms here: those lists of rooms could be refactored from a list of hashes to just one-line roomname array |
@abhisekp let me know if you can do this @QuincyLarson was keen to get the bot live in more rooms and so your help would be appreciated. this is mostly a text edit so it should be OK to just try it and see if we have problems with the rate limit and need a planB. |
@dcsan I guess this will only be an addition of objects similar to as follows. Right? {
name: "FreeCodeCamp/Bhubaneswar"
} I can do that. First I need to filter out all the chat rooms from the chat room wiki page and make it look like object with name property. |
@abhisekp you could make a one-line roomname array and then add a one-line map function at the end to turn them into objects 😄
as can be seen here -> http://repl.it/BC6M |
@oab00 sure. Nice. That would be really great for later when the rooms will be read from a flattened array. |
i think most of the main rooms are added, its just the city rooms need to all be added https://github.com/FreeCodeCamp/freecodecamp/wiki/List-of-Free-Code-Camp-city-based-Campsites so copy that list and remove any punctuation. |
i guess you didn't manage to test this? we'll have to see what happens when we run this. i think it may time out gitter API but we only have to join each room ONCE EVER. so we could either
|
You could make the bot join the rooms in chunks! |
yeah with an interval or iterator if you want to try and write some fancy ES6 code. discussion |
@dcsan update the above comment. The link is broken. |
oh that's a private chat.
|
Gitterbot is awesome. Campers are using it like crazy. Have you been monitoring the statistics?
He does a few key things remarkably well
I was wondering whether you could roll him out in the rest of our rooms
There are about 400 of these - is there a good way to do these in batch? They’re listed here: https://github.com/FreeCodeCamp/freecodecamp/wiki/Official-Free-Code-Camp-Chat-Rooms and https://github.com/FreeCodeCamp/freecodecamp/wiki/List-of-Free-Code-Camp-city-based-Campsites
The text was updated successfully, but these errors were encountered: