mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-03 23:37:09 +01:00 
			
		
		
		
	Fix message author fails when Titan is nicknamed
This commit is contained in:
		@@ -810,6 +810,7 @@
 | 
			
		||||
                message.content = message.content.substring(usernamefield.length + 7);
 | 
			
		||||
            }
 | 
			
		||||
            message.author.username = usernamefield.split("#")[0];
 | 
			
		||||
            message.author.nickname = null;
 | 
			
		||||
            message.author.discriminator = usernamefield.split("#")[1];
 | 
			
		||||
        } else if (message.author.bot && message.author.discriminator == "0000" && message.author.username.substring(message.author.username.length-5, message.author.username.length-4) == "#") {
 | 
			
		||||
            var namestr = message.author.username;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user