Skip to content

Commit

Permalink
remove rohan from sicklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Kempner committed Mar 19, 2012
1 parent e7ec8b6 commit 8aa8d48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion foosbot.rb
Expand Up @@ -15,15 +15,20 @@
@game = false
@players = []
@blacklist = ['foosbot', 'matt', 'matt_', 'Kyle', 'Kyle_', 'ChrisH']
@sicklist = []
@cleverbot = Cleverbot::Client.new
end

on :join do |m|
greetings = ['bam a lam', 'cocaine is a hell of a gem', '...'].shuffle
greetings = ['bam a lam', 'cocaine is a hell of a gem', '...', 'these pringles are making me thirsty'].shuffle
m.reply greetings.first if m.user.nick == bot.nick
end

on :message, "!foos" do |m|
if @sicklist.include? m.user.nick
m.reply "#{m.user.nick}: Sorry no sick players allowed."
return nil
end

if not @game
#if Random.new.rand(0..6) == 0
Expand Down

0 comments on commit 8aa8d48

Please sign in to comment.