From 4ff4a6329dfc924a4b9974957233d5e5139b8345 Mon Sep 17 00:00:00 2001 From: knotteye Date: Mon, 12 Oct 2020 10:54:55 -0500 Subject: [PATCH] Add configuration options for twitch mirror --- install/config.example.yml | 6 +++++- src/config.ts | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/install/config.example.yml b/install/config.example.yml index da27427..fe66753 100644 --- a/install/config.example.yml +++ b/install/config.example.yml @@ -56,4 +56,8 @@ chat: enabled: false username: #https://twitchapps.com/tmi/ - password: \ No newline at end of file + password: + +twitch_mirror: +# enable to allow users to mirror video streams to twitch + enabled: false \ No newline at end of file diff --git a/src/config.ts b/src/config.ts index 3f74000..d118a25 100644 --- a/src/config.ts +++ b/src/config.ts @@ -81,6 +81,9 @@ const config: Object = { username: null, token: null }, localconfig['chat']['twitch']) - } + }, + twitch_mirror: Object.assign({ + enabled: false + }, localconfig['twitch_mirror']) }; export { config }; \ No newline at end of file