|
|
|
@ -90,7 +90,7 @@ provisioning thing: |
|
|
|
you do `--user-token` here since you need the Oauth2 authentication even though you said in [the |
|
|
|
you do `--user-token` here since you need the Oauth2 authentication even though you said in [the |
|
|
|
console](https://dev.twitch.tv/docs/cli/) that your application is Confidential. |
|
|
|
console](https://dev.twitch.tv/docs/cli/) that your application is Confidential. |
|
|
|
4. The `twitch` command will then open a browser for you to approve your bot using Oauth2. |
|
|
|
4. The `twitch` command will then open a browser for you to approve your bot using Oauth2. |
|
|
|
5. After you approve it your browser will redirect back to http://localhost:3000/ and the `twitch` |
|
|
|
5. After you approve it your browser will redirect back to http://localhost:3000 (NO TRAILING SLASH!) and the `twitch` |
|
|
|
command will handle the Oauth2 result. |
|
|
|
command will handle the Oauth2 result. |
|
|
|
6. It will then output your `ClientSecret` and `RefreshToken` for the `secret.json` file used in |
|
|
|
6. It will then output your `ClientSecret` and `RefreshToken` for the `secret.json` file used in |
|
|
|
this bot's configuration. __DO NOT COMMIT THIS TO GIT__. |
|
|
|
this bot's configuration. __DO NOT COMMIT THIS TO GIT__. |
|
|
|
@ -134,10 +134,11 @@ wait and it will wait then say that. |
|
|
|
|
|
|
|
|
|
|
|
## TODO |
|
|
|
## TODO |
|
|
|
|
|
|
|
|
|
|
|
1. Hot reloading would be nice. |
|
|
|
1. Automated key refresh. |
|
|
|
2. Controlling the bot from the chat, which would require |
|
|
|
2. Hot reloading would be nice. |
|
|
|
3. Authenticating the owner? Or just knowing it's you. |
|
|
|
3. Controlling the bot from the chat, which would require |
|
|
|
4. Productionizing how it's run, as in making it run as a server. |
|
|
|
4. Authenticating the owner? Or just knowing it's you. |
|
|
|
|
|
|
|
5. Productionizing how it's run, as in making it run as a server. |
|
|
|
|
|
|
|
|
|
|
|
## Conspiracy Theory |
|
|
|
## Conspiracy Theory |
|
|
|
|
|
|
|
|
|
|
|
|