mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Implemented Webhooks to make sending messages look more real, as an option
This commit is contained in:
		@@ -474,6 +474,10 @@
 | 
			
		||||
            message.content = message.content.substring(usernamefield.length+7);
 | 
			
		||||
            message.author.username = usernamefield.split("#")[0];
 | 
			
		||||
            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;
 | 
			
		||||
            message.author.username = namestr.substring(0,namestr.length-5);
 | 
			
		||||
            message.author.discriminator = namestr.substring(namestr.length-4);
 | 
			
		||||
        }
 | 
			
		||||
        return message;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user