import re


def get_emoji_in_message(message):
    """
    Scan a message for any emoji or reactji.
    Returns an array of emoji names, no order or uniqueness guarantees.

    message: a single message dict.
    """

    # Emoji come in several ways:
    # reactji: Found in the "reactions" group
    # In-text: found by searching text for :something: groups.

    emojilist = []

    for reaction in message.get('reactions', None):
        emojilist.append(reaction['name'])

    for emoji in re.findall(r':([^:\s]+):', message['text']):
        emojilist.append(emoji)

    return emojilist