Since EmojiOne has flags for all countries in the world and even more (Antarctica!), it would be easier to enable a 1:1 mapping between the emoji set(s) and what is available in Discourse. Where do I need to start looking apart from /lib/emoji/db.json if I want to try crafting a pull request?