forked from mud/bankerbot-rb
		
	Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8eaed5595c | |||
| 973c4980f8 | |||
| 87d7cc5933 | |||
| ac30629979 | 
							
								
								
									
										
											BIN
										
									
								
								block.gif
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								block.gif
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 13 KiB | 
							
								
								
									
										4
									
								
								coin.rb
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								coin.rb
									
									
									
									
									
								
							| @@ -144,7 +144,7 @@ end | |||||||
|  |  | ||||||
| bot.message(with_text: 'boobs', in: Integer(ENV['CUM_CHANNEL'])) do |event| | bot.message(with_text: 'boobs', in: Integer(ENV['CUM_CHANNEL'])) do |event| | ||||||
| next if not ENV['CUM_CHANNEL'] | next if not ENV['CUM_CHANNEL'] | ||||||
| event.respond "OHHHHHH IM GONNA CUM" | event.respond "# OHHHHHH IM GONNA CUM" | ||||||
| end | end | ||||||
|  |  | ||||||
| bot.reaction_add do |event| | bot.reaction_add do |event| | ||||||
| @@ -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) | ||||||
|   else |   elsif user_result.is_a? Integer | ||||||
|     event.respond "Nice try, but you're wrong!" |     event.respond "Nice try, but you're wrong!" | ||||||
|   end |   end | ||||||
| end | end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user