add SALVINOOOOOOOOOOOOOOOOOOOOOOO
This commit is contained in:
parent
8adbf86efb
commit
a9bb734759
1 changed files with 19 additions and 1 deletions
20
tubiabot.rb
20
tubiabot.rb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue