President-elect Trump puts world on notice via Twitter