From 5e98f7353bee8126a359ce8994c5eea7bb5b7602 Mon Sep 17 00:00:00 2001 From: mud mud Date: Wed, 9 Nov 2022 21:12:08 +0000 Subject: [PATCH] Update 'coin.rb' --- coin.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/coin.rb b/coin.rb index c8d1e5a..e46c040 100644 --- a/coin.rb +++ b/coin.rb @@ -95,6 +95,12 @@ bot.message(with_text: '!leave') do |event| event.respond PASTA end +bot.message(with_text: '!cum', in: Integer(ENV['CUM_CHANNEL'])) do |event| +next if not ENV['CUM_CHANNEL'] +increment_coin(event.author.id, -1) +event.respond "OHHHHHH IM GONNA CUM" +end + bot.run(true) loop do