-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.py
34 lines (27 loc) · 1.02 KB
/
settings.py
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
30
31
32
33
34
# twitchhacks.online
# "Twitch Hacks Online
# 2020 - Frank Godo
import logging
MAX_FREEBIES = 10
# Twitch channel settings
USER_ID = None # Integer ID of Twitch channel account
CHANNEL_NAME = None
CHANNEL_ID = None # Integer ID of Twitch channel account
BOT_NICK = None
IRC_TOKEN = None # Token for Bot user here https://twitchapps.com/tmi/
SUBSCRIPTIONS = [f'channel-bits-events-v2.{CHANNEL_ID}',
f'channel-points-channel-v1.{CHANNEL_ID}',
f'channel-subscribe-events-v1.{CHANNEL_ID}',
f'chat_moderator_actions.{CHANNEL_ID}']
# Twitch Application settings
# Register a new application to get these
# https://dev.twitch.tv/console/apps
CLIENT_ID = None
CLIENT_SECRET = None
CLIENT_TOKEN = None # Scopes: "bits:read", "channel_subscriptions", "channel:read:redemptions", "channel:moderate"
API_TOKEN = None # Needed to get follower information
# VirtualBox settings
MACHINE_NAME = None # Name of the VirtualBox VM
# Logging
LOG_FILE = 'twitchhacks.log'
LOGGING_LEVEL = logging.INFO