così mi faccio odiare da autistici

This commit is contained in:
encrypt 2017-02-16 16:35:05 +00:00
parent accb3c9008
commit accfff8654

View file

@ -15,7 +15,9 @@ markov.parse_file './logs.txt'
bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.ortiche.net"
c.server = "irc.autistici.org"
c.server = 99999
c.ssl.use = true
c.nick = "TubiaBot"
c.channels = ["#indivia"]
c.plugins.plugins = plugins.map { |p| eval(p.to_s) }
@ -28,7 +30,9 @@ bot.on :message do |m|
#logger.write(m.message+"\n")
end
if m.message.include?(@bot.nick)
m.reply markov.generate_n_sentences 1
rp = markov.generate_n_sentences 1
m.reply rp
#system("espeak -v italian \""+rp+"\"")
end
end