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, coreSettings); immutable configText = sink[].justifiedEntryValueText; writeToDisk("kameloso.conf", configText, addBanner: true);
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.