Yes they have. They’ve just recently nuked on the Switch emulator.
And you can bet that if they could, Nintendo would go out of their way to sue any other emulator developer that emulates their games. The only things saving some of those emulators is technicalities like open-source.
Good on Discord. If these corporate cretins want pirates so bad, do the work themselves, not push others to do the dirty work.