Moved line formatting to a string in config

Use a springf function to use named arguments to format each chat line