export default (message: string) => { const matches = message.match(//g) if (!matches) return message for (let match of matches) { const emoji = match.match(//)!![1] message = message.replace(match, emoji) } return message }