forked from distok/cutthecord
		
	emojireplace: Make mutant replace script less verbose
This commit is contained in:
		
							parent
							
								
									4077ee0a27
								
							
						
					
					
						commit
						82a88a3da5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -212,7 +212,7 @@ for emoji in discord_emojis:
 | 
				
			||||||
        # Copy and overwrite the discord emojis with the mutantstd alternatives
 | 
					        # Copy and overwrite the discord emojis with the mutantstd alternatives
 | 
				
			||||||
        shutil.copyfile(full_mutstd_path, full_discord_path)
 | 
					        shutil.copyfile(full_mutstd_path, full_discord_path)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        print("Replaced {} emoji.".format(emoji))
 | 
					        # print("Replaced {} emoji.".format(emoji))
 | 
				
			||||||
        replace_counter += 1
 | 
					        replace_counter += 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for custom_emoji in custom_emojis:
 | 
					for custom_emoji in custom_emojis:
 | 
				
			||||||
| 
						 | 
					@ -222,7 +222,7 @@ for custom_emoji in custom_emojis:
 | 
				
			||||||
    full_mutstd_path = os.path.join(extracted_mutstd_path, custom_emoji)
 | 
					    full_mutstd_path = os.path.join(extracted_mutstd_path, custom_emoji)
 | 
				
			||||||
    full_discord_path = os.path.join(discord_emoji_path, discord_emoji_name)
 | 
					    full_discord_path = os.path.join(discord_emoji_path, discord_emoji_name)
 | 
				
			||||||
    shutil.copyfile(full_mutstd_path, full_discord_path)
 | 
					    shutil.copyfile(full_mutstd_path, full_discord_path)
 | 
				
			||||||
    print("Added custom {} emoji.".format(discord_emoji_name))
 | 
					    # print("Added custom {} emoji.".format(discord_emoji_name))
 | 
				
			||||||
    replace_counter += 1
 | 
					    replace_counter += 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
print("Done, {} emojis replaced.".format(replace_counter))
 | 
					print("Done, {} emojis replaced.".format(replace_counter))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue