fix: setGuildMotd response for U29.3.1 (#2851)
Unsure which version introduced long descriptions exactly, but it surely wasn't this one. :^) Reviewed-on: #2851 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									9da47c406a
								
							
						
					
					
						commit
						b14a5925df
					
				@ -57,7 +57,7 @@ export const setGuildMotdController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
        await guild.save();
 | 
					        await guild.save();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.03.24.20.24") > 0) {
 | 
					    if (!account.BuildLabel || version_compare(account.BuildLabel, "2020.11.04.18.58") > 0) {
 | 
				
			||||||
        res.json({ IsLongMOTD, MOTD });
 | 
					        res.json({ IsLongMOTD, MOTD });
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        res.send(MOTD).end();
 | 
					        res.send(MOTD).end();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user