async def card_matches(colour, value, card, ctx):
    """Checks if the colour/value matches a card"""
    wilds = ["wild", "wild+4"]
    matches = False
    if colour in wilds:
        matches = True
    elif card[0] in wilds and colour == card[1]:
        matches = True
    elif colour == card[0] or value == card[1]:
        matches = True

    if matches is False:
        await ctx.send("Your card doesn't match!")
        return False

    return True