-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_example.yaml
154 lines (135 loc) · 4.6 KB
/
config_example.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# This file represents a bot instance. You can have multiple bots for multiple
# instances. Every twitch bot config file needs to follow this pattern:
# <anything>config.yaml
#
# this means you can give it any name, as long as it ends with "config.yaml". Ex:
# henya_config.yaml
# modsconfig.yaml
# cheer-messages-config.yaml
#
# this also means that if you want to temporarily disable an instance you just
# need to rename it. Ex:
# henya_config.yaml -> henya.yaml
# modsconfig.yaml -> mods.yaml
# cheer-messages-config.yaml -> cheer-messages.yaml
# MANDATORY FIELDS
# the bot WILL NOT WORK if you don't fill these up
webhook_url: 'THE WEBHOOK URL FOR THE CHANNEL'
twitch_client_id: 'YOUR TWITCH ACCOUNT ID'
twitch_username: 'YOUR USERNAME'
oauth_password: 'YOUR TWITCH OAUTH'
# you can use this option if you're gonna use only one channel
#channel: 'henyathegenius'
# or this one if you wanna monitor multiple channels with the same options
#channels:
# - 'henyathegenius'
# - 'zentreya'
# OPTIONAL FIELDS
# These fields are optional, and you can uncomment the ones you want to use.
# You can use this option to set when you want the messages sent.
#
# This option takes precedence over the others.
#
# WARNING: If you set to anything other than online or offline you will get no message.
#
# Default value: "" # empty string, meaning everything should be sent
#
#on_stream_status: online # Only send messages if the streamer is online
#on_stream_status: offline # Only send messages if the streamer is offline
# This sends all messages, without any filters.
# This option is not recommended since Discord applies rate limits on webhook
# apis when it's being used too much, and this option will trigger this whenever
# chat goes crazy. In these situations the bot will "overheat" and will stop working
# until it can safely resume.
#
# Default value: false
#
#send_all_messages: false
# This option makes sure the bot doesn't ping @everyone or @here.
#
# Default: true
#
#prevent_ping: true
# This option shows bit messages. You can either use "true" or "false", or provide
# a minimum bit value for it to show up.
#
# The amount will be shown on the users name.
#
# Default: false
#
#show_bit_gifters: true # shows every cheer message
#show_bit_gifters: 500 # shows only cheer messages with 500 bits or more
# This option makes the bot instance to print out every message in raw format.
# if you enable "mod_actions" it'll output those messages in raw format as well.
#
# Default: false
#
#mod_actions: false
# With this option you can choose which message is sent by the user's badge.
# The most commmons are the "broadcaster", the "vip", and the "moderator",
# but you can also use "verified" or any other badge.
# This option is a list.
#
# Default: none
#
# filter_badges:
# - broadcaster
# - moderator
# - vip
# With this option you can choose wich message is sent by the user's name.
# This option is a list.
#
# Default: none
#
#filter_usernames:
# - henyathegenius
# - ironmouse
# This option filters out any user in it, even if they match any of the
# other filters. "mod_actions" is not affected by this option though.
# This option is a list.
#
# Default: none
#
#blacklist:
# - miskif
# - StreamElements
# With this option you can choose which message is sent by the contents of
# said message. This is useful if you want to be notified if someone pings you
# when you're not in chat.
# This option is a list, and it uses regex.
#
# Default: none
#
#filter_messages:
# - 'cyberdruga'
# - '[Cc]yber[Dd]ruga'
# - '[^\x20-\x7F]' # I personally use this regex a lot to get japanese messages only
# This option only works if you have the Discord bot setted up and running.
# This is an opt in option because the apis for creation/deletion of emotes is the
# most propitios to get rate limited.
#
# Default: false
#
#grab_emotes: true
# ATTENTION:
# The `user_notice_message` was deprecated, will no longer be used, and it'll generate an error if used.
# use the new options specific for your use case.
# This option enables Raid messages, where it shows who raided, and the amount of raiders.
# It also links the raider's channel in the embed.
#
# Default: false
#
#show_raid_messages: true # show all raid messages
#show_raid_messages: 300 # show only raids with more than 300 raiders
# This enables Announcements from mods and the broadcaster.
# I'll show as an embed.
#
# Default: false
#
#show_announcement_messages: true
# This option limits the amount of messages in the threads to show up.
# It'll show a "..." whenever the thread limit is reached
#
# Default: 0
#
#thread_limit: 5 # Will only show 5 thread messages