def METHOD_NAME(group, x = 0, y = 0):
    mute()
    card = group.random()
    if card == None:
        return
    if confirm("Reveal randomly-picked {}?".format(card.Name)):
        index = card.index
        card.moveTo(me.piles[discard])
        notify("{} randomly picks {} from their {}.".format(me, card, group.name))
        card.moveTo(me.hand, index)
    else:
        notify("{} randomly picks {} (hidden) from their {}.".format(me, card, group.name))
    card.select()
    card.target(True)