fix missing global variable token
This commit is contained in:
parent
caaf419d6d
commit
06d44e564f
2
coin.rb
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user