mirror of
				https://github.com/aydenjahola/discord-multipurpose-bot.git
				synced 2025-11-04 00:01:41 +00:00 
			
		
		
		
	trivia: make trivia api limit formatted clearly
This commit is contained in:
		
							parent
							
								
									d3ac6fad8d
								
							
						
					
					
						commit
						70ac364608
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -156,7 +156,7 @@ module.exports = {
 | 
				
			||||||
      console.error("Error executing trivia command:", error);
 | 
					      console.error("Error executing trivia command:", error);
 | 
				
			||||||
      if (error.response && error.response.status === 429) {
 | 
					      if (error.response && error.response.status === 429) {
 | 
				
			||||||
        await interaction.reply({
 | 
					        await interaction.reply({
 | 
				
			||||||
          content: `<@${userId}> The trivia API rate limit has been exceeded. Please try again later.`,
 | 
					          content: `<@${userId}> The trivia API rate limit has been exceeded. Please try in 5 seconds.`,
 | 
				
			||||||
          ephemeral: true,
 | 
					          ephemeral: true,
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue