If an attack has an *optional* effect triggered by a discard, a Pokémon copying that attack must be able to do that discard in order to get the additional effect; if they cannot perform the optional discard, it still gets the base effect and damage.
Source: PUI Rules Team (2007-03-15)