From 06d44e564fa20ccbbc6da8400fad3b55507446d6 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 9 May 2023 16:03:33 +0200 Subject: [PATCH] fix missing global variable token --- coin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin.rb b/coin.rb index 58d4c62..524febe 100644 --- a/coin.rb +++ b/coin.rb @@ -189,7 +189,7 @@ loop do # send the math problem bot.send_file(ENV['BOT_CHANNEL'], File.open('./block.gif', 'r')) - bot.send_message(ENV['BOT_CHANNEL'], "Solve the following for #{MATH_PROBLEM_COIN_GAIN} coins: `#{$mathproblem_op1} #{$mathproblem_operator} #{mathproblem_op2}`") + bot.send_message(ENV['BOT_CHANNEL'], "Solve the following for #{MATH_PROBLEM_COIN_GAIN} coins: `#{$mathproblem_op1} #{$mathproblem_operator} #{$mathproblem_op2}`") else # activate coin state $coin_state_active = COIN_STATE_ACTIVE