These are chat archives for dcsan/gitterbot

3rd
Dec 2015
dc
@dcsan
Dec 03 2015 11:52
@abhisekp out of interest, what’s the reason for moving the repo?
and is it a true fork?
Abhisek Pattnaik
@abhisekp
Dec 03 2015 11:53
@dcsan You were unavailable and Berkeley thought of moving it so that FCC is in control.
@dcsan it's the exact same repo
dc
@dcsan
Dec 03 2015 11:55
its the same repo? i’m not sure how you do that..
it didn’t look like a fork in the network
OH! one of the contribus was able to “transfer ownership” ?
hmm. that’s a bit weird
Abhisek Pattnaik
@abhisekp
Dec 03 2015 11:56
@dcsan so now there are some major issue which needs some help like banning
FreeCodeCamp/camperbot#5
@dcsan trolls rose exponentially and were disrupting the chat. So a ban by bot feature was necessary.
dc
@dcsan
Dec 03 2015 12:00
but seems impossible?
Abhisek Pattnaik
@abhisekp
Dec 03 2015 12:01
no no. It's possible. I found a nice method :sunglasses:
dc
@dcsan
Dec 03 2015 12:01
you should post your thoughts into that thread then
Abhisek Pattnaik
@abhisekp
Dec 03 2015 12:01
but the gitter dev asked not to share those publicly. I don't know exactly. They're not in the API docs.
maybe he meant about not disclosing the feature using which one can ban and also remove those user's msgs
dc
@dcsan
Dec 03 2015 12:02
well, since our bot code is open source...
Abhisek Pattnaik
@abhisekp
Dec 03 2015 12:04
k. here is the banning api
https://api.gitter.im/v1/rooms/:roomId/bans

{"username":":userId"}
@dcsan it's ok to use and implement it. :D
@dcsan Berkeley and SaintPeter know about it but no one has implemented the banning feature yet :(
dc
@dcsan
Dec 03 2015 12:09
can you add that to the ticket then? is there any auth check on who is doing the ban?
assume it has to be the room owner
Abhisek Pattnaik
@abhisekp
Dec 03 2015 12:09
berkeley said the banner list will be in a comma separated list in an environment var
Abhisek Pattnaik
@abhisekp
Dec 03 2015 12:17
@dcsan there is also an issue about updating wiki using web hook automatically
dc
@dcsan
Dec 03 2015 12:17
yeah i saw that
doesn’t seem that hard, just takes some time to figure it out