From 0c94e60258e341b7c713c91d202bbaf4760592a5 Mon Sep 17 00:00:00 2001 From: mud mud Date: Wed, 9 Nov 2022 08:10:20 +0000 Subject: [PATCH] Update 'coin.rb' --- coin.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/coin.rb b/coin.rb index ae895a2..73b5c34 100644 --- a/coin.rb +++ b/coin.rb @@ -6,8 +6,6 @@ require 'discordrb' MAX_COINS_PER_DAY = 4 COIN_TIMEOUT = 15 SCOREBOARD = './scoreboard.yml' -DUMBASS = 521596582962003968 -DUMBASS_BOT = 1034966228755820575 coin_state_active = false coins_offered_today = 0 @@ -91,13 +89,6 @@ bot.message(with_text: '/coins') do |event| event.respond "#{clean_name event.author.display_name}, you have #{plural('coin', coins)}!" end -bot.message(from: DUMBASS_BOT) do |event| - next unless event.message.content.scan(/(?=no swearing)/).count > 0 - coins = increment_coin(DUMBASS, -1) - event.respond "<@#{DUMBASS}>, you have been penalized 1 coin for the grossly negligent behavior of your Intellectual Offspring! You now have #{plural('coin', coins)}." - -end - bot.run(true) loop do