# 自定义表情包

**URL:** <https://meta.discourse.org/t/custom-emoji-set/184698>\
**Category:** Support\
**Created:** [2021年三月29日 03:42 UTC](https://meta.discourse.org/t/custom-emoji-set/184698 "2021-03-29T03:42:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2021年四月22日 16:56 UTC](https://meta.discourse.org/t/custom-emoji-set/184698/5 "2021-04-22T16:56:49Z")

</div>

> [@cookieman768](#):
>
> 我仍在想这是否可行。我在站点管理区域看到了一个名为 `external emoji url` 的设置，但我不确定该 URL 的目录中需要放置什么内容。

从技术上讲，可以通过将此设置作为一种变通方法来实现。

将您想要的表情符号集上传到您控制的网站，遵循我们使用的目录结构，并借用现有表情符号集的名称。例如，假设您使用 `https://cookieman-emojis.com` 来托管这些内容：

1. 在网站根目录下创建一个名为 `google` 的文件夹。

2. 将您自定义的表情符号集上传到该文件夹中，遵循在 [https://github.com/discourse/discourse/tree/master/public/images/emoji/google](https://github.com/discourse/discourse/tree/master/public/images/emoji/google) 看到的目录/文件结构。

3. 通过访问 `https://cookieman-emojis.com/google/a.png` 测试是否有效。它是否显示了正确的表情符号？

4. 进入您自己的 Discourse 实例，将 `external emoji url` 设置为 `https://cookieman-emojis.com`。同时将 `emoji set` 设置为 `Google`。

---

_[View the full topic](https://meta.discourse.org/t/custom-emoji-set/184698)._
