He was being sarcastic. A third grader would have figured that out.
A second grader would listen to the whole context and know Trump was sounding a warning.