#Get Guild Emoji IDs

1 messages · Page 1 of 1 (latest)

crude flame

How do you get the ID of a custom guild emoji?

I tried this but it didn't work (GuildEmoji is imported)

if (key === 'emoji' && typeof value == GuildEmoji)
            valueID = value.id;```

I want it to only be for guild emojis, as I'm wanting to store the value in a database. Default Discord emojis are fine, as they go to unicode.