Added super no details flag to the api
This commit is contained in:
		
							parent
							
								
									eba7e028b2
								
							
						
					
					
						commit
						9b77912a85
					
				| 
						 | 
				
			
			@ -264,12 +264,14 @@ const start = async (): Promise<void> => {
 | 
			
		|||
													}
 | 
			
		||||
 | 
			
		||||
													// Determine if no details flag was on
 | 
			
		||||
													if (!query.has("snd")) {
 | 
			
		||||
														if (query.has("nd")) {
 | 
			
		||||
															returnText += "\nDetails suppressed by nd query.";
 | 
			
		||||
														} else {
 | 
			
		||||
															returnText += `\nDetails:\n${spoilerTxt}${returnmsg.line3}${spoilerTxt}`;
 | 
			
		||||
														}
 | 
			
		||||
													}
 | 
			
		||||
												}
 | 
			
		||||
 | 
			
		||||
												// If the roll was a GM roll, send DMs to all the GMs
 | 
			
		||||
												if (query.has("gms")) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue