add SALVINOOOOOOOOOOOOOOOOOOOOOOO

This commit is contained in:
encrypt 2016-01-22 12:56:21 +01:00
parent 8adbf86efb
commit a9bb734759

View file

@ -49,12 +49,30 @@ class JS
end
end
class Salvino
include Cinch::Plugin
match /salvino/
def execute(m)
m.reply "FORZA SALVINO"+("O"*rand(3...10))
end
end
bot = Cinch::Bot.new do
configure do |c|
c.server = "irc.mufhd0.net"
c.nick = "TubiaBot"
c.channels = ["#indivia"]
c.plugins.plugins = [Caffe, ToniNegri, Amici, JS]
c.plugins.plugins = [Caffe, ToniNegri, Amici, JS, Salvino]
end
end
logger = File.open("./logs.txt", 'a+')
bot.on :message do |m|
if m.user.nick == "Tubia87"
logger.write(m.message+"\n")
end
end