Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Actually kill the user
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew committed Feb 9, 2018
1 parent ca8e4e7 commit ddf9106
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def checkforspammers(m)
mention += 1 if message.include?(meme) == true
end
banspammer = true if mention > 2
bot.irc.send("KILL #{m.user.name}") if banspammer == true
m.reply 'You just got banned, bucko' if banspammer == true
bot.irc.send("KILL #{m.user.name} Spam is off topic on ChewChat") if banspammer == true
end
end

0 comments on commit ddf9106

Please sign in to comment.