mirror of
				https://github.com/klmp200/kaamelott-soundboard-telegram-bot
				synced 2025-10-31 00:53:11 +00:00 
			
		
		
		
	Meilleur affichage des citations sur les réponses inline
This commit is contained in:
		
							
								
								
									
										7
									
								
								bot.go
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								bot.go
									
									
									
									
									
								
							| @@ -119,9 +119,14 @@ func main() { | ||||
| 			log.Println(url) | ||||
| 			results[i] = &tb.AudioResult{ | ||||
| 				URL: url, | ||||
| 				Caption:   sound.Episode, | ||||
| 				Caption: fmt.Sprintf( | ||||
| 					"<i>%s</i>\n\n%s", | ||||
| 					sound.Episode, | ||||
| 					sound.Title, | ||||
| 				), | ||||
| 				Title:     sound.Title, | ||||
| 				Performer: sound.Character, | ||||
| 				ParseMode: tb.ModeHTML, | ||||
| 			} | ||||
| 			results[i].SetResultID(strconv.Itoa(i)) | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user