Filename of file to write to.
Content to write to file.
Whether or not to add the "kameloso bot" banner at the head of the file.
Appender!(char[]) sink; sink.serialise(client, server, settings); immutable configText = sink.data.justifiedEntryValueText; writeToDisk("kameloso.conf", configText, Yes.addBanner);
Saves the passed configuration text to disk, with the given filename.
Optionally (and by default) adds the "kameloso" version banner at the head of it.