Compare commits
No commits in common. "87d7cc593371b2bf103c7853219b43482ccbd1b5" and "3c3815defb9b2287340f11b946981f04b78a4d6b" have entirely different histories.
87d7cc5933
...
3c3815defb
2
coin.rb
2
coin.rb
@ -167,7 +167,7 @@ bot.message(in: Integer(ENV['BOT_CHANNEL'])) do |event|
|
|||||||
|
|
||||||
if result == user_result
|
if result == user_result
|
||||||
get_coin(event, MATH_PROBLEM_COIN_GAIN)
|
get_coin(event, MATH_PROBLEM_COIN_GAIN)
|
||||||
elsif user_result.is_a? Integer
|
else
|
||||||
event.respond "Nice try, but you're wrong!"
|
event.respond "Nice try, but you're wrong!"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user