diff --git a/docker-compose.jsonnet b/docker-compose.jsonnet index 84563a9..7c0d8d8 100644 --- a/docker-compose.jsonnet +++ b/docker-compose.jsonnet @@ -185,9 +185,6 @@ ], chat_archiver:: { - // We currently only support archiving chat from one channel at once. - // This defaults to the first channel in the $.channels list. - channel: $.clean_channels[0], // Twitch user to log in as and path to oauth token user: "dbvideostriketeam", token_path: "./chat_token.txt", @@ -528,7 +525,7 @@ [if $.enabled.chat_archiver then "chat_archiver"]: { image: $.get_image("chat_archiver"), restart: "always", - command: [$.chat_archiver.user, "/token", $.chat_archiver.channel, "--name", $.localhost], + command: [$.chat_archiver.user, "/token", "--name", $.localhost] + $.clean_channels, volumes: ["%s:/mnt" % $.segments_path, "%s:/token" % $.chat_archiver.token_path], [if "chat_archiver" in $.ports then "ports"]: ["%s:8008" % $.ports.chat_archiver], environment: $.env,