Browse Source

Bugfix on emojireplace

master
ave 3 years ago
parent
commit
1768776294
No known key found for this signature in database GPG Key ID: 9356ABAA42C842B
  1. 3
      emojireplace.py

3
emojireplace.py

@ -34,10 +34,9 @@ for emoji in discord_emojis:
# Get full unclean filename of mutantstd emoji, generate relevant paths
full_mutstd_name = clean_mutstd_emojis[clean_discord_emoji]
full_mutstd_path = os.path.join(extracted_mutstd_path, full_mutstd_name)
full_discord_path = os.path.join(extracted_discord_path, emoji)
full_discord_path = os.path.join(discord_emoji_path, emoji)
# Copy and overwrite the discord emojis with the mutantstd alternatives
print("Copying {} to {}.".format(full_mutstd_path, full_discord_path))
shutil.copyfile(full_mutstd_path, full_discord_path)
print("Replaced {} emoji.".format(emoji))

Loading…
Cancel
Save