From 37dfcf6c45e1dfb6823c5df361a544bcad0542c5 Mon Sep 17 00:00:00 2001 From: fzorb Date: Mon, 7 Oct 2024 15:19:25 +0300 Subject: [PATCH] I am stupid --- systems/starboard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/starboard.rb b/systems/starboard.rb index 2a46f8c..ffb69cb 100644 --- a/systems/starboard.rb +++ b/systems/starboard.rb @@ -15,7 +15,7 @@ module StarboardSystem for attachment in event.message.attachments do attachments += " #{attachment.url}" end - if reactions = ENV['MINSTARS'].to_i + if reactions == ENV['MINSTARS'].to_i message = event.message.content.sub!("@", "[at]") if message == nil message = event.message.content