How to get an emoji's tag or link
In any Discord channel, type a backslash followed by the emoji — \:pepe: — and send it. Instead of the picture, Discord shows the raw tag, like <:pepe:123456789012345678>, or <a:name:…> for animated emojis. Copy that message and paste it here; one tag or a whole message full of emojis both work. On desktop you can also right-click an emoji and copy its link.