# Best way to add custom emoji codes?

**URL:** <https://meta.discourse.org/t/best-way-to-add-custom-emoji-codes/250966>\
**Category:** Migration\
**Tags:** emoji, drupal\
**Created:** [January 6, 2023, 6:59pm UTC](https://meta.discourse.org/t/best-way-to-add-custom-emoji-codes/250966 "2023-01-06T18:59:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [January 25, 2023, 1:11pm UTC](https://meta.discourse.org/t/best-way-to-add-custom-emoji-codes/250966/2 "2023-01-25T13:11:06Z")

</div>

I just discovered the `/admin/customize/watched_words/action/replace` interface, which appears to work for this. Also allows uploading a number of replacements from a `.csv` file.

The downside is that it requires a `rake posts:rebake` to make the replacements appear in prior posts, which in my case takes over 24 hours to run. The main purpose of the **Watched Words** feature appears to be for censoring or otherwise acting on words (or emojis) that appear in _new_ posts, whereas in my case the problem is mainly with old posts where the old forum engine automatically inserted its unique codes when the user added an emoji to a post.

---

_[View the full topic](https://meta.discourse.org/t/best-way-to-add-custom-emoji-codes/250966)._
