This command adds a line to the MOTD. If there is no text yet then this becomes the first line of the MOTD.
Example:
/as client z-default motd append This is the first line of my motd.
Append is the basic command for creating a motd. If you leave something out you can use the insert command. See INSERT.