It is not a threat, it is an observation.
Many government official that are anti-gun, but only for the citizens. They are perfectly happy to be surrounded by armed guards, and many have their own conceal weapon permit.
Trump is simply pointing out the hypocrisy.
Foghorn Leghorn: "That warms, Ah say, that warms the cockles of mah heart!"