These are chat archives for dcsan/gitterbot

4th
Aug 2015
Ben McMahon
@benmcmahon100
Aug 04 2015 00:00
Ah never mind got it working :p
Jorge Almeida
@Jorgixhallo
Aug 04 2015 00:09
@dcsan do you have anti-spam mesures on the bot?
Ben McMahon
@benmcmahon100
Aug 04 2015 00:14
@dcsan so i got the bot to join a room and send a message but it doesn't seem to stay there :p
dc
@dcsan
Aug 04 2015 00:14
hmm
Ben McMahon
@benmcmahon100
Aug 04 2015 00:15
@dcsan use tome in the demobo/test room
dc
@dcsan
Aug 04 2015 00:24
@benmcmahon100 i had to change some stuff to ignore that .env
you put the .gitignore at top level not in the /nap/ dir
Ben McMahon
@benmcmahon100
Aug 04 2015 00:24
@dcsan oops sorry
dc
@dcsan
Aug 04 2015 00:24
so pls merge in from master
Ben McMahon
@benmcmahon100
Aug 04 2015 00:25
merge now?
dc
@dcsan
Aug 04 2015 00:25
hmm master doesnt' start atm
oh!
i deelted it DOH
Ben McMahon
@benmcmahon100
Aug 04 2015 00:25
The whole thing?
dc
@dcsan
Aug 04 2015 00:25
i was going to try to symlink but that doesnt work on win
no...
nvm
Ben McMahon
@benmcmahon100
Aug 04 2015 00:27
symlink?
@dcsan also any ideas on the bot being weird :p
Ben McMahon
@benmcmahon100
Aug 04 2015 00:37
Actually @dcsan Have to call it for the night i'll get to work on the bot command tomorrow
dc
@dcsan
Aug 04 2015 01:27
you bet!
being weird?
in what way?
Ben McMahon
@benmcmahon100
Aug 04 2015 01:32
@dcsan it moves rooms and sends but then it won't do bot status
I've killed my serve though so I'll have to sort it tomorrow
Abhisek Pattnaik
@abhisekp
Aug 04 2015 13:25
@dcsan I've created a gist for solutions to FCC challenges. Some of the Bonfire challenge in different ways. Maybe you could add some crazy things in the gitterbot to see solutions fetched either from my gist or any other.
Here is the gist: https://gist.github.com/abhisekp/ec330ea725247bbf9e8e
(the gist is incomplete. Will add more solutions as I progress through Bonfire challenges)
Abhisek Pattnaik
@abhisekp
Aug 04 2015 13:36
You could also fetch answers from other users' profile maybe. ;)
Jorge Almeida
@Jorgixhallo
Aug 04 2015 14:31
about @dcsan
CamperBot
@camperbot
Aug 04 2015 14:31
:star: 20 | @dcsan | http://www.freecodecamp.com/dcsan
Lightwaves
@Lightwaves
Aug 04 2015 15:43
quick question what's the roomid for the help channel
Lightwaves
@Lightwaves
Aug 04 2015 16:01
ok wait wth so the api works off of the rooms the bearer is in
that what it seems like
Lightwaves
@Lightwaves
Aug 04 2015 16:17
yep I got it now I was wondering why you couldn't select specific rooms
at least initally
dc
@dcsan
Aug 04 2015 18:50
yeah your bot has to be in the rooms alrady @Lightwaves
you can also enter rooms by name
@abhisekp thanks for those. but its a tricky area where we don't want to give away solutions
Abhisek Pattnaik
@abhisekp
Aug 04 2015 18:52
@dcsan which message are you referring to? Oh! this? :point_up: August 4, 2015 6:55 PM
Lightwaves
@Lightwaves
Aug 04 2015 18:58
He was refering to me, I'm working with evaristoc in this data science project I got it,
No bots just pulling info using the rest api
So I used my own bearer key
lol I'm in so many rooms
Abhisek Pattnaik
@abhisekp
Aug 04 2015 19:00

@Lightwaves he was also referring me. :point_up: August 5, 2015 12:20 AM

@abhisekp thanks for those. but its a tricky area where we don't want to give away solutions

dc
@dcsan
Aug 04 2015 19:14
about @abhisekp
CamperBot
@camperbot
Aug 04 2015 19:14
:star: 21 | @abhisekp | http://www.freecodecamp.com/abhisekp
dc
@dcsan
Aug 04 2015 19:14
you know your solutiosn are also listed here? maybe the gist is just your "best versions"?
Abhisek Pattnaik
@abhisekp
Aug 04 2015 19:16
@dcsan yeah! Solns. are listed there but that gist is just a backup incase!
@dcsan they're the same versions. Actually all the versions of soln. to a given prob.
Abhisek Pattnaik
@abhisekp
Aug 04 2015 22:05
help format @dcsan
CamperBot
@camperbot
Aug 04 2015 22:05
no wiki entry for: format @dcsan
:pencil: click here to create one now!after creating your page type update to reload it here
Abhisek Pattnaik
@abhisekp
Aug 04 2015 22:07
@dcsan i think, the camperbot should reply to the mentioned person with the stuff.
currently, it's not parsing the text properly. Hope it's already in the issues. ;)
dc
@dcsan
Aug 04 2015 22:10
that isn't in the issues. feel free to add a ticket
@abhisekp
Irina Tagintseva
@irinatag
Aug 04 2015 22:13
@dcsan ok, i'll copy & paste to new branch no problem
i have no idea what PR it was based off of.. but i'm now on the right branch with latest changes from master pulled
so I'll just be working on that one, and make sure to pull latest changes from master every morning going forward
Abhisek Pattnaik
@abhisekp
Aug 04 2015 22:15
@dcsan could you please add that to the issue. It's already 3:45 AM. :sleepy: :sleeping:
dc
@dcsan
Aug 04 2015 22:16
you can do it tomorrow if you like. i wont get to it today :)
get comfortable with gibhub man, its the future of work!
Abhisek Pattnaik
@abhisekp
Aug 04 2015 22:16
@dcsan you got me! :worried:
posting issues and writing the description is really boring. :stuck_out_tongue:
but i'll get used to it, anyway. :smile:
Irina Tagintseva
@irinatag
Aug 04 2015 22:54
@dcsan is there a reason why bin/run-demobot.sh is no longer there?
Abhisek Pattnaik
@abhisekp
Aug 04 2015 22:55
@irinatag maybe because it creates a bot by default and sets up the env.
Lightwaves
@Lightwaves
Aug 04 2015 22:55
/grabs dcsan words and burns it into head
Irina Tagintseva
@irinatag
Aug 04 2015 22:58
@abhisekp i was using it to test what come back after i tweak code, and that's how @dcsan wanted me to do it. so not sure how to do that now
dc
@dcsan
Aug 04 2015 22:58
ah...
Irina Tagintseva
@irinatag
Aug 04 2015 22:58
i suppose i can just add it myself.. copy & paste off of github
dc
@dcsan
Aug 04 2015 22:58
yes we simplified how it all works yesterday to support windows
nah
the app should have a bin/run
just try that
er 1s
let me cheange the readme
Irina Tagintseva
@irinatag
Aug 04 2015 22:59
TypeError: OAuth2Strategy requires a clientID option
at new OAuth2Strategy --> another script didn't give me that error
and that error is crashing the app
dc
@dcsan
Aug 04 2015 23:01

Run the app in 'demobot' mode

The main app is in /nap subdir.

cd nap

Copy the credentials file

cp .env-EXAMPLE .env

now it should run as 'demobot'

bin/run.sh
i think
Irina Tagintseva
@irinatag
Aug 04 2015 23:02
@dcsan that works, thanks!
dc
@dcsan
Aug 04 2015 23:03
great
that should have been
thanks @dcsan
CamperBot
@camperbot
Aug 04 2015 23:05
dcsan sends brownie points to @dcsan :sparkles: :thumbsup: :sparkles:
:star: 23 | @dcsan | http://www.freecodecamp.com/dcsan
dc
@dcsan
Aug 04 2015 23:05
which is why we have that ticket to find thanks inside messages, i rest my case.
Irina Tagintseva
@irinatag
Aug 04 2015 23:23
@dcsan let me 1st figure out your refactor & how to achieve not sending to self, and then i'll deal with thanks inside messages
1 thing at a time :smile:
dc
@dcsan
Aug 04 2015 23:52
ok!

@Jorgixhallo

@dcsan what do you think about adding bf examples? it searches the ## Examples on wiki and show them

not sure what you mean - it would pull in examples from other wiki pages?