|
|
|
@ -34,7 +34,7 @@ Twitch, in their infinite wisdom decided that _you_--the bot author--would use t |
|
|
|
__give a bot you created in their own UI access to your own bot you created in your own account__. |
|
|
|
__give a bot you created in their own UI access to your own bot you created in your own account__. |
|
|
|
If that sounds dumb it is, and I have a theory about why they're doing this at the end. |
|
|
|
If that sounds dumb it is, and I have a theory about why they're doing this at the end. |
|
|
|
|
|
|
|
|
|
|
|
To make things worse, Twitch does not explain this weird "use oauth2 to get a key for my bot" flow |
|
|
|
To make things worse, Twitch does not explain this weird "use Oauth2 to get a key for my bot" flow |
|
|
|
and they have errors in their UI. Here's the flow: |
|
|
|
and they have errors in their UI. Here's the flow: |
|
|
|
|
|
|
|
|
|
|
|
1. You would like to create a simple bot using Twitch's IRC. |
|
|
|
1. You would like to create a simple bot using Twitch's IRC. |
|
|
|
@ -73,11 +73,9 @@ install it on Windows with `winget install Twitch.TwitchCLI`. |
|
|
|
problem is `twich-cli` creates a Oauth2 receiver at `http://localhost:3000` so it can't be https. |
|
|
|
problem is `twich-cli` creates a Oauth2 receiver at `http://localhost:3000` so it can't be https. |
|
|
|
__Just add http://localhost:3000/ anyway.__ The error message seems to be wrong, but I ran into a |
|
|
|
__Just add http://localhost:3000/ anyway.__ The error message seems to be wrong, but I ran into a |
|
|
|
situation where I couldn't add so I had to do this: |
|
|
|
situation where I couldn't add so I had to do this: |
|
|
|
|
|
|
|
|
|
|
|
a. Add a fake url `https://localhost:3000`. Yes, `https`, make sure that's there. |
|
|
|
a. Add a fake url `https://localhost:3000`. Yes, `https`, make sure that's there. |
|
|
|
b. Then add a second one with `http://localhost:3000`. |
|
|
|
b. Then add a second one with `http://localhost:3000`. |
|
|
|
c. Remove the first `https` one and you're done. |
|
|
|
c. Remove the first `https` one and you're done. |
|
|
|
|
|
|
|
|
|
|
|
6. For the category you must select `Chat Bot` as the category. |
|
|
|
6. For the category you must select `Chat Bot` as the category. |
|
|
|
7. You also select `Confidential` as the type of bot. This is because you aren't in a web page but |
|
|
|
7. You also select `Confidential` as the type of bot. This is because you aren't in a web page but |
|
|
|
instead running as a server. |
|
|
|
instead running as a server. |
|
|
|
|