diff --git a/.env.template b/.env.template index 6707343..ce38cda 100644 --- a/.env.template +++ b/.env.template @@ -8,4 +8,5 @@ TARGET_CHANNEL= TARGET_MIDI_NAME= TARGET_MIDI_CHANNEL= REWARDS_MODE= -VIP_REWARDS_MODE= \ No newline at end of file +VIP_REWARDS_MODE= +SEND_UNAUTHORIZED_MESSAGE= \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d49d307..ed45f77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [TwitchMIDI] +## [2.6.1] - 2022-06-07 + +### Added +- Troubleshooting section for auth errors + +### Changed +- Removed .env from bundle, it is not required and creates confusion + ## [2.6.0] - 2022-06-07 ### Added - Incremental setup process. Now only invalid or not configured environment variables are prompted on setup @@ -396,6 +404,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [TwitchMIDI]: https://github.com/rafaelpernil2/TwitchMIDI +[2.6.1]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.6.0...v2.6.1 [2.6.0]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.9...v2.6.0 [2.5.9]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.8...v2.5.9 [2.5.9]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.8...v2.5.9 diff --git a/README.md b/README.md index d8f5ab0..753ea64 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ A full-featured configurable Twitch bot to connect with your MIDI equipment whil - [!settempo](#settempo) - [!syncmidi](#syncmidi) - [!fetchdb](#fetchdb) + - [Troubleshooting](#troubleshooting) - [Contributing](#contributing) - [Support](#support) - [Credits](#credits) @@ -63,7 +64,7 @@ Latest release - [TwitchMIDI for Windows, Linux & MacOS (x86-64)](https://github ### Overriding custom settings -* Extract and replace all files except .env into your folder +* Extract and replace all files into your folder ### Safe method @@ -252,7 +253,13 @@ So far, this first version does all that, keep reading the features for more det #### !fetchdb     Refreshes aliases, rewards and permissions configurations from the respective files. +## Troubleshooting +Question: I get authentication errors each time I open the app. What can I do? + +Answer: + +>Delete `bot-tokens.json` and `broadcaster-tokens.json` from your `config` folder. If that does not work, remove BROADCASTER_REFRESH_TOKEN, BROADCASTER_ACCESS_TOKEN, BOT_REFRESH_TOKEN and BOT_ACCESS_TOKEN from your `.env` file and re-configure it again ## Contributing There is no plan regarding contributions in this project. diff --git a/package-lock.json b/package-lock.json index c83075e..d4027f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "twitch-midi", - "version": "2.6.0", + "version": "2.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "twitch-midi", - "version": "2.6.0", + "version": "2.6.1", "license": "ISC", "dependencies": { "@twurple/api": "^5.1.6", diff --git a/package.json b/package.json index 89ca851..41d454a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "twitch-midi", - "version": "2.6.0", + "version": "2.6.1", "description": "A Twitch bot that allows viewers to control your MIDI setup", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -15,8 +15,8 @@ "clean": "del-cli dist package", "ncc": "ncc build src/index.ts -m -o dist -e jazz-midi", "package": "pkg . -o package/TwitchMIDI", - "prezip": "cpy .env.template package --rename=.env && cpy config package && cpy package.json package", - "zip": "cd package && bestzip ../TwitchMIDI.zip * .env", + "prezip": "cpy config package && cpy package.json package", + "zip": "cd package && bestzip ../TwitchMIDI.zip *", "bundle": "npm run clean && npm run ncc && npm run package && npm run zip" }, "keywords": [