dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
greenbigfrog has joined #cinch
postmodern has quit [Quit: Leaving]
iamayam has quit [Ping timeout: 245 seconds]
tinnvec has quit [Ping timeout: 240 seconds]
tinnvec has joined #cinch
iamayam has joined #cinch
jesser has quit [K-Lined]
jesser has joined #cinch
<
xse>
Guys, how can i get the current topic please ? i'm stuck..
<
dominikh>
Channel#topic
<
xse>
just as simple as "topic = Channel#topic" ?
<
dominikh>
… no. Channel#topic isn't code, it's convention for how methods are described in documentation/speech
<
dominikh>
call the "topic" method on an instance of "Channel"
<
xse>
ok, thank you :)
<
xse>
guys i've got one more problem ^^' when the bot is setting a new topic only the first word goes on topic..
<
dominikh>
that seems unlikely, but I don't currently have time to debug it, sorry. working on other issues
<
xse>
[2016/01/13 23:35:28.031] << TOPIC #xsetestbot 16/01/2016 Redistribution ordinateurs aux Abeilles
<
xse>
[2016/01/13 23:35:28.212] >> :Tartiflood!~miaou@ARennes-353-1-16-53.w92-135.abo.wanadoo.fr TOPIC #xsetestbot :16/01/2016
<
xse>
ok dominikh :) strange bug i think
<
dominikh>
.. how are you trying to set the topic?
<
xse>
by @bot.irc.send "TOPIC #xsetestbot #{data1} - #{data2}"
<
dominikh>
well, here's a funny thought: if you don't know how the IRC protocol actually works, don't try to send raw IRC messages :)
<
dominikh>
channel.topic = "new topic"
rikai has quit [Quit: No Ping reply in 180 seconds.]
rikai has joined #cinch