lib/Zeta/plugins/russian_roulette.rb in zetabot-1.0.0 vs lib/Zeta/plugins/russian_roulette.rb in zetabot-1.0.1
- old
+ new
@@ -32,10 +32,10 @@
# match /rr(?: (.+))?/, method: :russian
match 'rr', method: :russian
def russian(m)
- # return m.reply "I am sorry comrade, but I do not have pistol on me." unless m.channel.ops.include?(@bot)
+ return m.reply "I am sorry comrade, but I do not have pistol on me." unless m.channel.ops.include?(@bot)
return m.user.notice "Sorry comrade, but there is already game going on." if @games.include?(m.channel.name)
# player setup
player = m.user
# player = m.user if player == @bot