Add configuration options for twitch mirror

merge-requests/25/head
knotteye 4 years ago
parent 5fe4728c11
commit 4ff4a6329d
  1. 6
      install/config.example.yml
  2. 5
      src/config.ts

@ -56,4 +56,8 @@ chat:
enabled: false
username:
#https://twitchapps.com/tmi/
password:
password:
twitch_mirror:
# enable to allow users to mirror video streams to twitch
enabled: false

@ -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 };