diff --git a/block.gif b/block.gif new file mode 100644 index 0000000..52b84cf Binary files /dev/null and b/block.gif differ diff --git a/coin.rb b/coin.rb index 52a170b..58d4c62 100644 --- a/coin.rb +++ b/coin.rb @@ -188,6 +188,7 @@ loop do $mathproblem_operator = rand(2) == 1 ? "+" : "-" # 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}`") else # activate coin state