def get_message(line, emote):
    """
    Returns the message.

    Args:
        line (binary): Line which we parse.
        emote (bool):  Flag to determine if there is a emote in the line.
    """
    _line = str(line)
    # `i` and `j` are indexes for where we can fetch the username. If a
    # emote is invloved it adds a bunch of flags wich messes up the original
    # parsing. Definitly a hacky implementation but it is fine for now.)
    i, j = 2, 2
    if emote:
        i = i + 1
        j = j + 1

    s = _line.split(':', j)
    try:
        return s[i].replace("\\r'", '')
    except IndexError:
        return ''