No, a player does not get points if an opposing Pokémon in play is discarded due to an effect. Points are gotten only when an opponent’s Pokémon is Knocked Out.
For example, if you use your Guzzlord’s Breakcore attack and the opponent’s Pokémon is discarded, you don’t get any points.