Add custom command handler and motd add command.