The "legal" line is usually around fraud - trying to obtain some financial gain by providing false information. There is nothing to gain by giving a fake ID to discord - but it probably violates some rules around unathorized access to computer systems.