forked from mud/bankerbot-rb
		
	send block gif for math questions
This commit is contained in:
		
							
								
								
									
										1
									
								
								coin.rb
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user