00:31
bhaak has quit [Ping timeout: 246 seconds]
00:36
bhaak has joined #cinch
00:50
rikai has quit [Read error: Connection reset by peer]
00:50
rikai has joined #cinch
00:51
Spami has joined #cinch
00:51
Spami has joined #cinch
00:51
Spami has quit [Changing host]
00:51
Spami has quit [Max SendQ exceeded]
00:52
Spami has joined #cinch
00:52
Spami has joined #cinch
01:00
Spami has quit [Quit: Leaving]
01:51
sleetdrop has joined #cinch
03:02
postmodern has quit [Quit: Leaving]
03:04
postmodern has joined #cinch
03:54
bhaak has quit [Ping timeout: 276 seconds]
04:28
sleetdrop has quit [Quit: Computer has gone to sleep.]
04:42
sleetdrop has joined #cinch
04:57
postmodern has quit [Ping timeout: 256 seconds]
05:08
Spami has joined #cinch
05:18
postmodern has joined #cinch
05:26
Spami has quit [Ping timeout: 256 seconds]
05:34
Spami has joined #cinch
05:34
Spami has quit [Changing host]
05:34
Spami has joined #cinch
06:50
Spami has quit [Quit: This computer has gone to sleep]
06:57
Spami has joined #cinch
07:00
Spami has quit [Max SendQ exceeded]
07:58
jhaals has joined #cinch
07:59
jhaals_ has joined #cinch
08:03
jhaals has quit [Ping timeout: 256 seconds]
08:15
<
ColdBlooder >
If i want to catch new tweets from my home twitter timeline and post them on the IRC using cinch... Do i need to run the twittestream gem as a new thread? Or can it work in a timer?
08:20
Spami has joined #cinch
08:20
Spami has quit [Changing host]
08:20
Spami has joined #cinch
08:21
Spami has quit [Client Quit]
08:30
Spami has joined #cinch
08:30
Spami has joined #cinch
08:30
Spami has quit [Changing host]
08:51
<
ColdBlooder >
Well i got to the part where i receive the streams. Thing is i receive them 2-3 times...
08:57
<
waxjar >
ColdBlooder: I would try and run it in a separate thread. You can trigger custom events, iirc.
08:57
<
ColdBlooder >
class MyTwitterThingy
08:57
<
ColdBlooder >
then call it with the bot?
08:58
<
ColdBlooder >
Then in the configuration block. c.plugins.plugins = [MyTwitterThingy]
09:01
<
ColdBlooder >
Okay, that dosent work
09:02
<
ColdBlooder >
Just freezes the bot instantly after starting the script
09:18
<
ColdBlooder >
Do i always habe to run the " client = TweetStream::Client.new" before i attemt to access the userstream?
09:22
<
waxjar >
i doubt it. show us some more code if you want help :)
09:24
<
ColdBlooder >
Thats the code that particially works
09:25
<
ColdBlooder >
If i run that it correctly fetches the new tweet but i get doubles and triples
09:26
<
ColdBlooder >
and Sleep dosent help
09:26
<
waxjar >
yes, you create a new client every twenty seconds right now
09:26
<
ColdBlooder >
So how do i create it wothout the bot freezinmg on startup?
09:26
<
waxjar >
you can try to create a client in initialize and wrap it in a separate thread
09:27
<
waxjar >
(btw, you pasted a password there)
09:28
<
ColdBlooder >
Ah thats just for a testchannel
09:28
<
ColdBlooder >
oh the other one isnt
09:28
<
ColdBlooder >
how do i delete the pastebin?
09:30
<
ColdBlooder >
pastebin crap
09:30
<
ColdBlooder >
reported an abuse since THERE IS NO DELETE OPTION
09:30
<
ColdBlooder >
crap site
09:33
postmodern has quit [Quit: Leaving]
09:33
<
ColdBlooder >
bot password changed
09:43
<
ColdBlooder >
Running it in a thread isnt working. Its just freezing the bot on startup...
09:48
<
dominikh >
I can help you in a couple hours. but frankly it's not the fault of the pastebin and you need to change your password now anyway :-)
09:48
<
ColdBlooder >
[11:33:59] <ColdBlooder> bot password changed
09:48
<
ColdBlooder >
Its funny how it works in a timer but once you tr to give it its own thread its just freezing
09:50
<
dominikh >
will take a look when I'm home
09:50
<
ColdBlooder >
k, thx
09:51
<
ColdBlooder >
At keast the twitter authrisation works, That was a 2 day operation aswell...
09:51
<
ColdBlooder >
*least
10:03
<
waxjar >
ColdBlooder: here's a working example
10:05
<
Cinchy >
[gist] A Twitter plugin for Cinch (at gist.github.com, britishtea on 2013-06-04 10:03)
10:20
<
ColdBlooder >
Theres a commata missing in the example ;)
10:25
<
ColdBlooder >
The example dosent fetch any tweets...
10:26
<
waxjar >
did you fill in your credentials?
10:27
<
ColdBlooder >
all 4 keys are in place
10:27
<
waxjar >
then it should work
10:28
<
ColdBlooder >
Ok its randomly tweeting tweets in every language imaginable
10:29
<
ColdBlooder >
So this should work with userstream aswell?
10:30
<
waxjar >
yea, i don't see why not. my twitterstream just isn't that active so i chose to use #sample
10:31
<
ColdBlooder >
HOLY smokes it works now
10:32
<
ColdBlooder >
thanks alot! :D
10:59
sleetdrop has quit [Ping timeout: 276 seconds]
11:23
<
ColdBlooder >
Does the regular twwitter gem have an unfollow feature? "Twitter.unfollow"?
11:58
jhaals_ has quit [Ping timeout: 276 seconds]
12:03
jhaals has joined #cinch
12:43
jhaals has quit [Quit: jhaals]
12:49
jhaals has joined #cinch
13:54
Liru has left #cinch [#cinch]
14:06
rikai_ has joined #cinch
14:10
rikai has quit [Ping timeout: 264 seconds]
14:16
sleetdrop has joined #cinch
14:38
v0n has joined #cinch
14:48
jhaals has quit [Quit: jhaals]
15:11
_whitelogger has joined #cinch
15:22
_whitelogger has joined #cinch
16:10
bhaak has joined #cinch
16:38
v0n has quit [Ping timeout: 264 seconds]
17:10
Spami has quit [Quit: This computer has gone to sleep]
17:20
rikai_ is now known as rikai
17:55
flexd1 has joined #cinch
17:56
cout_ has joined #cinch
17:56
Rennex_o1d has joined #cinch
17:59
flexd has quit [Ping timeout: 264 seconds]
17:59
cout has quit [Ping timeout: 264 seconds]
17:59
Rennex has quit [Ping timeout: 264 seconds]
17:59
Rennex_old has quit [Ping timeout: 264 seconds]
17:59
davidboy has quit [Ping timeout: 264 seconds]
18:01
Rennex has joined #cinch
18:03
jhaals has joined #cinch
18:05
jhaals has quit [Client Quit]
18:07
Rennex_ has joined #cinch
18:08
Rennex has quit [Ping timeout: 252 seconds]
18:08
Lemtzas has quit [Ping timeout: 252 seconds]
18:10
literal has quit [*.net *.split]
18:10
jmaister has quit [*.net *.split]
18:12
Lemtzas has joined #cinch
18:12
jmaister has joined #cinch
18:15
ColdBlooder_ has joined #cinch
18:18
ColdBlooder has quit [Ping timeout: 276 seconds]
18:29
txdv has joined #cinch
18:30
aytch has quit [Ping timeout: 256 seconds]
18:30
txdv_ has quit [Ping timeout: 256 seconds]
18:30
catepillar has quit [Ping timeout: 256 seconds]
18:30
catepillar has joined #cinch
18:30
aytch has joined #cinch
18:36
rikai_ has joined #cinch
18:36
waxjar has quit [Ping timeout: 245 seconds]
18:38
flexd1 has quit [Ping timeout: 245 seconds]
18:40
mlue has joined #cinch
18:40
mlue has quit [Ping timeout: 245 seconds]
18:40
evilNirvana has quit [Read error: Connection reset by peer]
18:40
Rennex_ has quit [Ping timeout: 276 seconds]
18:40
Rennex has joined #cinch
18:40
sacc91_ has joined #cinch
18:40
ayonix has joined #cinch
18:41
waxjar has joined #cinch
18:41
mlue has joined #cinch
18:41
mlue has quit [Changing host]
18:41
flexd1 has joined #cinch
18:41
v0n has joined #cinch
18:41
Lemtzas has quit [Ping timeout: 265 seconds]
18:42
rails__ has joined #cinch
18:44
bhaak_ has joined #cinch
18:45
Lemtzas has joined #cinch
18:46
nickrw_ has joined #cinch
18:48
bhaak_ is now known as bhaak`
18:48
bhaak has quit [*.net *.split]
18:48
rikai has quit [*.net *.split]
18:48
adrian_ has quit [*.net *.split]
18:48
sacc91 has quit [*.net *.split]
18:48
nickrw has quit [*.net *.split]
18:48
sacc91_ is now known as sacc91
18:50
bhaak` is now known as bhaak
19:03
_whitelogger_ has joined #cinch
19:05
_whitelogger has quit [Ping timeout: 245 seconds]
19:05
mlue has quit [Ping timeout: 245 seconds]
19:05
Rennex_o1d has quit [Ping timeout: 245 seconds]
19:08
jhaals has joined #cinch
19:11
jhaals has quit [Client Quit]
19:23
mlue_ is now known as mlue
19:27
flexd1 is now known as flexd
19:35
rails__ is now known as evilNirvana
19:35
evilNirvana has quit [Changing host]
19:35
evilNirvana has joined #cinch
19:44
postmodern has joined #cinch
19:57
davidboy has joined #cinch
20:15
flexd1 has joined #cinch
20:17
v0n has joined #cinch
20:17
v1n has quit [Read error: Connection reset by peer]
20:18
davidboy has quit [*.net *.split]
20:18
bhaak has quit [*.net *.split]
20:18
flexd has quit [*.net *.split]
20:18
evilNirvana has quit [*.net *.split]
20:18
waxjar has quit [*.net *.split]
20:24
bhaak has joined #cinch
20:28
evilNirvana has joined #cinch
20:28
waxjar has joined #cinch
21:49
davidboy has joined #cinch
23:15
zer0python has quit [Changing host]
23:15
zer0python has joined #cinch
23:24
ColdBlooder_ has quit [Remote host closed the connection]
23:54
oddmunds has quit [Ping timeout: 240 seconds]
23:58
oddmunds has joined #cinch