fix missing global variable token

This commit is contained in:
mud mud 2023-05-09 16:03:33 +02:00
parent caaf419d6d
commit 06d44e564f
Signed by: mud
GPG Key ID: D29C9385CC54F61C

View File

@ -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