use sentence ending event content when printing sentence
This commit is contained in:
		
							
								
								
									
										2
									
								
								bot.rb
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bot.rb
									
									
									
									
									
								
							| @@ -64,7 +64,7 @@ bot.message(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event| | ||||
|     if $sentence.empty? | ||||
|       next | ||||
|     end | ||||
|     event << "Congratulations, your sentence is: #{$sentence.values.join(" ")}." | ||||
|     event << "Congratulations, your sentence is: #{$sentence.values.join(" ")}${event.message.content}" | ||||
|     $sentence.clear | ||||
|     next | ||||
|   end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user