added twitch bot settings param

This commit is contained in:
Bryson Steck 2022-03-11 23:43:06 -07:00
parent 6be5616f36
commit ae92151b17
2 changed files with 2 additions and 1 deletions

View file

@ -85,7 +85,7 @@ $INSTALL_EDITOR follow-src/settings.json
echo "Cool! That's everything you need to get the Python bot working. Feel free to edit that file later." echo "Cool! That's everything you need to get the Python bot working. Feel free to edit that file later."
echo "Now let's move on to the Twitch bot. There are more files we must edit in here." echo "Now let's move on to the Twitch bot. There are more files we must edit in here."
echo "The first file to edit is the settings.json file for the Twitch bot. You will need to add the name of the bot's Twitch username, it's oauth code, and the names of the channels you want the bot to be present in." echo "The first file to edit is the settings.json file for the Twitch bot. You will need to add the name of the bot's Twitch username, it's oauth code, YOUR OWN username, and the names of the channels you want the bot to be present in."
echo "You can optionally change the command character. Press ENTER to open the file." echo "You can optionally change the command character. Press ENTER to open the file."
read read

View file

@ -1,6 +1,7 @@
{ {
"bot_username": "your_bot_username_here", "bot_username": "your_bot_username_here",
"bot_token": "enter the token that you generate here", "bot_token": "enter the token that you generate here",
"your_username": "YOUR_username_not_your_bots_username",
"channels" : [ "enter the channel names for the bot to join", "you can have multiple!" ], "channels" : [ "enter the channel names for the bot to join", "you can have multiple!" ],
"command_char": "!" "command_char": "!"
} }