This small PR is (presumably) the final one in a long series of replacing the confusing “command” terminology with “message type” when referring to the header field of P2P messages, see #18533, #18937, #24078, #24141 and #31163.
The instances were found manually via $ git grep -i command, hope I didn’t miss any.