mirror of
				https://github.com/aydenjahola/discord-multipurpose-bot.git
				synced 2025-11-04 00:01:41 +00:00 
			
		
		
		
	trivia: forgot to include & in my regex smh
This commit is contained in:
		
							parent
							
								
									82f2f7ed36
								
							
						
					
					
						commit
						04254e660c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -91,7 +91,7 @@ module.exports = {
 | 
				
			||||||
            return "Video Games";
 | 
					            return "Video Games";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      })()
 | 
					      })()
 | 
				
			||||||
        .replace(/[^a-zA-Z0-9 ]/g, "")
 | 
					        .replace(/[^a-zA-Z0-9 &]/g, "")
 | 
				
			||||||
        .trim(); // Remove special characters and trim the category name for MongoDB query purposes in the Emebed title
 | 
					        .trim(); // Remove special characters and trim the category name for MongoDB query purposes in the Emebed title
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Fetch a trivia question from the cache or the API
 | 
					      // Fetch a trivia question from the cache or the API
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue