-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_config.yml
52 lines (44 loc) · 1.79 KB
/
default_config.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Token for the Discord Bot
token: YOUR_TOKEN_HERE
# Id of the Discord bot
client_id: "ID"
# Id of the guild where the Discord bot will operate
guild_id: "ID"
# Client Id and secret for the Twitch API
twitch_id_client: YOUR_TWITCH_ID_CLIENT_HERE
twitch_secret: YOUR_TWITCH_SECRET_HERE
# External address for webhooks that will be called from the Twitch API
# You must set up a proxy on your web server that enables SSL for this URL (it must be https)
# The proxy must be setup with the default https port (443)
webhooks_host: IP_OF_THE_SERVER_HERE
# The proxy must redirect to localhost with the following port (i.e. http://127.0.0.1:3123/)
webhooks_port: 3123
# Secret that will be used to verify that requests to the webhooks actually come from Twitch API
# This should be a random string between 10 and 100 characters
webhooks_secret: SECRET_FOR_WEBHOOKS_HERE
# Twitch stream category that the bot will process notifications for
stream_category: TWITCH_STREAM_CATEGORY_HERE
# Discord channel ID for the channel were notifications for streams will be sent
notification_channel: "ID"
# Discord role ID for the role to give to all streamers managed by the bot
streamer_role: "ID"
# Discord role ID for the role to give to streamers that are live
streamer_online_role: "ID"
# SQLite3 database file, must be created before starting the bot
database_file: data.sqlite
# Format for the notification embed
embed:
color: "#FF5733"
title: "${name} is live!"
description: "${streamTitle}"
# List of twitch channels that will be tracked by the bot
streams:
# Login of the streamer
username1:
# Discord user ID of the streamer in your server
discord_user_id: "ID"
# Discord role ID that will be given to the streamer when he is streaming
role_id: "ID"
username2:
discord_user_id: "ID"
role_id: "ID"