These are chat archives for dcsan/gitterbot

31st
Aug 2015
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:31
@dcsan @SaintPeter after joining 400+ rooms, the bot is not listening to the chat rooms even if there is no error shown.
while it was joining rooms, it was listening. But now it's not after joining completes.
dc
@dcsan
Aug 31 2015 18:32
this is with your new bot right?
so no errors are coming back from the API?
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:32
yes
dc
@dcsan
Aug 31 2015 18:32
maybe you can ask in gitterHQ rooms?
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:32
@dcsan I did exactly what you asked
flattened the array
dc
@dcsan
Aug 31 2015 18:33
thanks
CamperBot
@camperbot
Aug 31 2015 18:33
if you want to thank someone, put an @ before their name!
dc
@dcsan
Aug 31 2015 18:33
shutup camperbot!
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:33
lolz :D
dc
@dcsan
Aug 31 2015 18:33
i wonder if there's a limit to rooms to listen to in that way
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:34
could you pls pull the add-camperbot-rooms branch from my repo and test it with a demo bot?
@dcsan while joining 400+ rooms, i also got some errors like Permission Denied for a few city rooms.
dc
@dcsan
Aug 31 2015 18:36
oh? do those rooms exist?
evaristoc
@evaristoc
Aug 31 2015 18:36
Hahaha!! @dcsan! Angry with the bot...
oh!!
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:38
@dcsan those rooms were posted in the wiki by @quincylarson
So i believe they exist. But i must check with them.
dc
@dcsan
Aug 31 2015 18:38
yeah maybe a few spelling errors?
also puntuation in room names isnt allowed
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:39
@dcsan it's listening now. I don't know what had happened for sometime.
While joining GameDev
@dcsan those Permission denied errors are due to non-existent rooms. I wonder why they're in wiki. :confused:
dc
@dcsan
Aug 31 2015 18:43
ask quincy i guess?
or check them maybe just a typo
rooms
CamperBot
@camperbot
Aug 31 2015 18:44

rooms

See all the FreeCodeCamp rooms at gitter.im/FreeCodeCamp/rooms
Or check this wiki article for a shortlist
dc
@dcsan
Aug 31 2015 18:44
that list is the real one from gitter:
https://gitter.im/orgs/FreeCodeCamp/rooms
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:45
@dcsan could you find a method to get the list and join all the rooms rather than hardcoding them in the file?
dc
@dcsan
Aug 31 2015 18:45
you might not want to join ALL rooms with the bot tho.
and i'm not sure - have to check gitter API
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:46
@dcsan we can get the list and then discard the unwanted and then start joining.
dc
@dcsan
Aug 31 2015 18:46
how do you know the UNwanted then?
you want to create a blacklist instead of whitelist?
evaristoc
@evaristoc
Aug 31 2015 18:47
@abhisekp GameDev? It is a room, @abhisekp
dc
@dcsan
Aug 31 2015 18:47
sounds like a lot of work and confusing for anyone else who might use this bot.
evaristoc
@evaristoc
Aug 31 2015 18:47
And it is very active one (I am part of it now...)
dc
@dcsan
Aug 31 2015 18:47
i want this bot to be simple and obvious so others cna just picj up and use it...
Abhisek Pattnaik
@abhisekp
Aug 31 2015 18:47
@dcsan seems so... :(
@dcsan where have you specified about the spacing in your linter .eslintrc?
evaristoc
@evaristoc
Aug 31 2015 18:50
@dcsan I am not sure if by reading the documetation about the API you will find some clues: I think they were never thought about the API in the way we are using it...
dc
@dcsan
Aug 31 2015 18:51
@abhisekp if its not there then its default setting for eslint
Abhisek Pattnaik
@abhisekp
Aug 31 2015 19:05

@dcsan the default is "no-spaced-func": 0 i.e. don't show any error if there is any space between function name and parenthesis.
Moreover, a linter is not responsible for formatting. One must use js-beautify for taking care of the source formatting. It was not in the repo. So I had proposed one and you've already merged it.
You've already merged a .jsbeautifyrc file in https://github.com/dcsan/gitterbot/blob/master/nap/.jsbeautifyrc

Default .eslintrc: https://github.com/eslint/eslint/blob/master/conf/eslint.json

Abhisek Pattnaik
@abhisekp
Aug 31 2015 20:33

@dcsan I'm unable to join the following city rooms because they don't exist but are mentioned in the wiki https://github.com/FreeCodeCamp/freecodecamp/wiki/List-of-Free-Code-Camp-city-based-Campsites

FreeCodeCamp/Lexington
FreeCodeCamp/Koeln
FreeCodeCamp/Gurgaon
FreeCodeCamp/SalisburyMD
FreeCodeCamp/Tashkent
FreeCodeCamp/Canberra
FreeCodeCamp/Derby
FreeCodeCamp/Tunis


FreeCodeCamp/CoreTeam [GitterBotX BANNED :P]

CamperBot
@camperbot
Aug 31 2015 20:33
you called?
dc
@dcsan
Aug 31 2015 20:33
as i said > tell quincy
Abhisek Pattnaik
@abhisekp
Aug 31 2015 20:34
@QuincyLarson :point_up: September 1, 2015 2:03 AM
i'll PM him too
dc
@dcsan
Aug 31 2015 20:34
log a bug for it, its not a big deal.
CamperBot
@camperbot
Aug 31 2015 20:34
Archives for gitterbot
dc
@dcsan
Aug 31 2015 20:34
wth ?
Abhisek Pattnaik
@abhisekp
Aug 31 2015 20:36
This message was deleted
This message was deleted
This message was deleted
Abhisek Pattnaik
@abhisekp
Aug 31 2015 20:42
log
CamperBot
@camperbot
Aug 31 2015 20:42
Archives for gitterbot
Abhisek Pattnaik
@abhisekp
Aug 31 2015 21:12
Joining the non-existent FCC city rooms are shown a permission denied error currently. It could show a proper message that says it was because the room doesn't exist.