-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_config.json
29 lines (29 loc) · 1.91 KB
/
example_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"HELP": [
"TIM_TOKEN: Go to the link in TIM_TOKEN to get your oauth credentials.",
"CLIENT_ID: Go to the link in CLIENT_ID to get your CLIENT_ID",
"CLIENT_SECRET: Go to the link in CLIENT_SECRET, click on your application name, click New Secret.",
"CLIENT_SECRET: Put the result in your config.json file and DO NOT publish it to github (or anywhere).",
"CLIENT_SECRET: Publishing your CLIENT_SECRET might cause Twitch support to have an aneuryism.",
"CLIENT_SECRET: If Twitch support has an aneuryism, they won't be able to improve the documentation.",
"BOT_NICK: Your BOT_NICK must be the account you use for your bot (e.g. AwesomeStreamerBot)",
"BOT_PREFIX: DO NOT change this",
"CHANNEL: The Twitch channel with the chat your bot will connect to (e.g. AwesomeStreamerTTV)",
"PUBLIC_URI: You will need a server with a public facing IP address to get follower notifications.",
"PUBLIC_URI: If you want to run this on a home computer, you will have to forward a port through your router.",
"TWITCH_API_BASE: This is the base URI of the Twitch API. If it changes, we only have to update one location.",
"HOST: This should be 0.0.0.0 so you can accept connections from outside your computer",
"PORT: You can use any port, but anything below 49152 is assigned by the IANA. See this link:",
"PORT: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt"
],
"TIM_TOKEN": "https://twitchapps.com/tmi/",
"CLIENT_ID": "https://dev.twitch.tv/console/apps/create",
"CLIENT_SECRET": "https://dev.twitch.tv/console",
"BOT_NICK": "BotAccountChannelName",
"BOT_PREFIX": "!",
"CHANNEL": "TwitchAccountChannelName",
"PUBLIC_URI": "http://host.domain.tld:49200/api/v1.0/new_follower",
"TWITCH_API_BASE": "https://api.twitch.tv/helix",
"HOST": "0.0.0.0",
"PORT": 49200
}