forked from mattabullock/Baseball-GDT-Bot
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsample_settings.json
More file actions
234 lines (234 loc) · 12.1 KB
/
Copy pathsample_settings.json
File metadata and controls
234 lines (234 loc) · 12.1 KB
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"CLIENT_ID": "XXX",
"CLIENT_SECRET": "XXX",
"REDIRECT_URI": "http://localhost:8080",
"REFRESH_TOKEN": "XXX",
"USER_AGENT": "",
"SUBREDDIT": "XXX",
"TEAM_CODE": "XXX",
"STICKY": true,
"FLAIR_MODE": "none",
"ASG": true,
"LOGGING": {
"FILE": true,
"FILE_LOG_LEVEL": "DEBUG",
"CONSOLE": true,
"CONSOLE_LOG_LEVEL": "INFO"
},
"NOTIFICATIONS": {
"PROWL": {
"ENABLED": false,
"API_KEY": "XXX",
"PRIORITY": 0,
"NOTIFY_WHEN": {
"OFF_THREAD_SUBMITTED": true,
"PRE_THREAD_SUBMITTED": true,
"GAME_THREAD_SUBMITTED": true,
"POST_THREAD_SUBMITTED": true,
"WEEKLY_THREAD_SUBMITTED": true,
"END_OF_DAY_EDIT_STATS": true
}
}
},
"OFF_THREAD": {
"ENABLED": true,
"TITLE": "OFF DAY THREAD: The {myTeam:name} ({myTeam:wins}-{myTeam:losses}) are off today - {date:%A, %B %d}",
"TIME": "8AM",
"SUGGESTED_SORT": "new",
"INBOX_REPLIES": false,
"FLAIR": "",
"SUPPRESS_OFFSEASON": true,
"CONTENT": {
"NEXT_GAME": true,
"DIV_STANDINGS": true,
"FOOTER": "No game today. Feel free to discuss whatever you want in this thread."
},
"TWITTER": {
"ENABLED": false,
"TEXT": "The {myTeam:name} are off today. Pass the time in our off day thread: {link} #{myTeam:name%stripspaces}"
}
},
"PRE_THREAD": {
"ENABLED": true,
"TITLE": "PREGAME THREAD:{series: %D Game %N -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%a %b %d @ %I:%M%p %Z}{dh: - DH Game %N}",
"CONSOLIDATED_DH_TITLE": "PREGAME THREAD:{series: %D -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%a %b %d}{dh: - DOUBLEHEADER}",
"ASG_TITLE": "PREGAME THREAD:{series: %D -} {awayTeam:name} @ {homeTeam:name} - {date:%a %b %d @ %I:%M%p %Z}",
"TIME": "8AM",
"SUPPRESS_MINUTES": 0,
"SUGGESTED_SORT": "new",
"INBOX_REPLIES": false,
"FLAIR": "",
"CONSOLIDATE_DH": true,
"CONTENT": {
"HEADER": true,
"BLURB": true,
"PROBABLES": true,
"DIV_STANDINGS": true,
"FOOTER": ""
},
"TWITTER": {
"ENABLED": false,
"TEXT": "Game day!{series: %D Game %N -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%I:%M%p %Z}. Join the discussion in our pregame thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader game %N}",
"CONSOLIDATED_DH_TEXT": "Doubleheader day!{series: %D -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}). Join the discussion in our pregame thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader}",
"ASG_TEXT": "All-Star Game day! {awayTeam:name} @ {homeTeam:name} - {date:%I:%M%p %Z}. Join the discussion in our pregame thread: {link} #MLBAllStarGame #ASG{date:%Y}"
}
},
"GAME_THREAD": {
"TITLE": "GAME THREAD:{series: %D Game %N -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%a %b %d @ %I:%M%p %Z}{dh: - DH Game %N}",
"ASG_TITLE": "GAME THREAD:{series: %D -} {awayTeam:name} @ {homeTeam:name} - {date:%a %b %d @ %I:%M%p %Z}",
"HOURS_BEFORE": 3,
"POST_BY": "10PM",
"SUGGESTED_SORT": "new",
"INBOX_REPLIES": false,
"FLAIR": "",
"MESSAGE": false,
"HOLD_DH_GAME2_THREAD": true,
"EXTRA_SLEEP": 0,
"CONTENT": {
"HEADER": true,
"BOX_SCORE": true,
"EXTENDED_BOX_SCORE": false,
"LINE_SCORE": true,
"SCORING_PLAYS": true,
"HIGHLIGHTS": true,
"CURRENT_STATE": true,
"FOOTER": "Remember to **sort by new** to keep up!",
"UPDATE_STAMP": true,
"THEATER_LINK": false,
"PREVIEW_BLURB": true,
"PREVIEW_PROBABLES": true,
"PREVIEW_STANDINGS": true,
"NEXT_GAME": true
},
"NOTABLE_PLAY_COMMENTS": {
"ENABLED": false,
"MYTEAM_BATTING": {
"EVENTS": ["Home Run", "Single", "Double", "Triple", "Pitching Substitution", "Balk", "Walk", "Intent Walk", "Offensive Sub", "Manager Review", "Hit By Pitch", "Scoring Play", "Stolen Base 2B", "Stolen Base 3B", "Stolen Base Home", "Passed Ball", "Wild Pitch"],
"HEADER": {
"All":"",
"Home Run": "##{myTeam:name%upper} HOME RUN!",
"Single": "###SINGLE",
"Double": "###DOUBLE",
"Triple": "###TRIPLE",
"Pitching Substitution": "###NEW PITCHER FOR THE {oppTeam:name%upper}",
"Intent Walk": "###FREE PASS",
"Walk": "###WALK",
"Balk": "###BALK",
"Offensive Sub": "###OFFENSIVE SUBSTITUTION FOR THE {myTeam:name%upper}",
"Manager Review": "###MANAGER REVIEW",
"Hit By Pitch": "###HIT BATSMAN",
"Stolen Base 2B": "###STOLEN BASE",
"Stolen Base 3B": "###STOLEN BASE",
"Stolen Base Home": "###STOLEN BASE",
"Passed Ball": "###PASSED BALL",
"Wild Pitch": "###WILD PITCH"
},
"FOOTER": {
"All": "{halfInning} {inning} - {awayTeam:name}: {awayTeam:runs}, {homeTeam:name}: {homeTeam:runs}",
"Home Run": "",
"Single": "",
"Double": "",
"Triple": "",
"Pitching Substitution": "",
"Intent Walk": "",
"Walk": "",
"Balk": "",
"Offensive Sub": "",
"Manager Review": "",
"Hit By Pitch": "",
"Stolen Base 2B": "",
"Stolen Base 3B": "",
"Stolen Base Home": "",
"Passed Ball": "",
"Wild Pitch": ""
}
},
"MYTEAM_PITCHING": {
"EVENTS": ["Strikeout", "Strikeout_Called", "Double Play", "Triple Play", "Pitching Substitution", "Offensive Sub", "Manager Review", "Caught Stealing 2B", "Caught Stealing 3B", "Caught Stealing Home", "Pickoff 1B", "Pickoff 2B", "Pickoff 3B"],
"HEADER": {
"All": "",
"Strikeout": "###K",
"Strikeout_Called": "###BACKWARD K",
"Double Play": "###DOUBLE PLAY",
"Triple Play": "##TRIPLE PLAY!",
"Pitching Substitution": "###NEW PITCHER FOR THE {myTeam:name%upper}",
"Offensive Sub": "###OFFENSIVE SUBSTITUTION FOR THE {oppTeam:name%upper}",
"Manager Review": "###MANAGER REVIEW",
"Caught Stealing 2B": "###CAUGHT STEALING",
"Caught Stealing 3B": "###CAUGHT STEALING",
"Caught Stealing Home": "###CAUGHT STEALING"
},
"FOOTER": {
"All": "{halfInning} {inning} - {awayTeam:name}: {awayTeam:runs}, {homeTeam:name}: {homeTeam:runs}",
"Strikeout": "",
"Strikeout_Called": "",
"Double Play": "",
"Triple Play": "",
"Pitching Substitution": "",
"Offensive Sub": "",
"Manager Review": "",
"Caught Stealing 2B": "",
"Caught Stealing 3B": "",
"Caught Stealing Home": ""
}
},
"PITCH_STATS": ["Strikeout_Called", "Bunt Groundout", "Bunt Lineout", "Bunt Pop Out", "Double", "Fielders Choice", "Fielders Choice Out", "Flyout", "Forceout", "Grounded Into DP", "Groundout", "Hit By Pitch", "Home Run", "Lineout", "Passed Ball", "Pop Out", "Sac Bunt", "Sac Fly", "Sac Fly DP", "Sacrifice Bunt DP", "Single", "Strikeout", "Strikeout - DP", "Triple", "Triple Play", "Walk", "Wild Pitch"],
"HIT_STATS": ["Bunt Groundout", "Bunt Lineout", "Bunt Pop Out", "Double", "Fielders Choice", "Fielders Choice Out", "Flyout", "Forceout", "Grounded Into DP", "Groundout", "Home Run", "Lineout", "Pop Out", "Sac Bunt", "Sac Fly", "Sac Fly DP", "Sacrifice Bunt DP", "Single", "Triple", "Triple Play"]
},
"TWITTER": {
"ENABLED": false,
"TEXT": "{series:%D Game %N - }{dh:DH Game %N - }{awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%I:%M%p %Z}. Join the discussion in our game thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader}",
"ASG_TEXT": "{series:%D}! {awayTeam:name} @ {homeTeam:name} - {date:%I:%M%p %Z}. Join the discussion in our game thread: {link} #MLBAllStarGame #ASG{date:%Y}"
}
},
"POST_THREAD": {
"ENABLED": true,
"WIN_TITLE": "WIN THREAD:{series: %D Game %N -} The {myTeam:name} ({myTeam:wins}-{myTeam:losses}) defeated the {oppTeam:name} ({oppTeam:wins}-{oppTeam:losses}) by a score of {myTeam:runs}-{oppTeam:runs} - {date:%a %b %d @ %I:%M%p %Z}{dh: - DH Game %N}",
"LOSS_TITLE": "LOSS THREAD:{series: %D Game %N -} The {myTeam:name} ({myTeam:wins}-{myTeam:losses}) fell to the {oppTeam:name} ({oppTeam:wins}-{oppTeam:losses}) by a score of {oppTeam:runs}-{myTeam:runs} - {date:%a %b %d @ %I:%M%p %Z}{dh: - DH Game %N}",
"OTHER_TITLE": "POST GAME THREAD:{series: %D Game %N -} {awayTeam:name} ({awayTeam:wins}-{awayTeam:losses}) @ {homeTeam:name} ({homeTeam:wins}-{homeTeam:losses}) - {date:%a %b %d @ %I:%M%p %Z}{dh: - DH Game %N}",
"ASG_TITLE": "POSTGAME THREAD:{series: %D -} {awayTeam:name} @ {homeTeam:name} - {date:%a %b %d @ %I:%M%p %Z}",
"SUGGESTED_SORT": "new",
"INBOX_REPLIES": false,
"FLAIR": "",
"CONTENT": {
"HEADER": true,
"BOX_SCORE": true,
"EXTENDED_BOX_SCORE": true,
"LINE_SCORE": true,
"SCORING_PLAYS": true,
"HIGHLIGHTS": true,
"FOOTER": "",
"THEATER_LINK": true,
"NEXT_GAME": true
},
"TWITTER": {
"ENABLED": false,
"WIN_TEXT": "{series:%D Game %N - }{dh:DH Game %N - }The {myTeam:name} defeated the {oppTeam:name} {myTeam:runs}-{oppTeam:runs}! Join the discussion in our postgame thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader}",
"LOSS_TEXT": "{series:%D Game %N - }{dh:DH Game %N - }The {myTeam:name} fell to the {oppTeam:name} {oppTeam:runs}-{myTeam:runs}. Join the discussion in our postgame thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader}",
"OTHER_TEXT": "{series:%D Game %N - }{dh:DH Game %N - }The discussion continues in our postgame thread: {link} #{myTeam:name%stripspaces}{dh: #doubleheader}",
"ASG_TEXT": "{series:%D - }The discussion continues in our postgame thread: {link} #MLBAllStarGame #ASG{date:%Y}"
}
},
"WEEKLY_THREAD": {
"ENABLED": true,
"OFFSEASON_ONLY": true,
"WEEK_START": "Monday",
"TITLE": "Weekly {sub} Offseason Discussion Thread - {date:%B %d, %Y}",
"INBOX_REPLIES": false,
"SUGGESTED_SORT": "new",
"FLAIR": "Offseason Thread",
"CONTENT": {
"FOOTER": "Use this thread to talk about anything you want!"
},
"TWITTER": {
"ENABLED": false,
"TEXT": "Keep the #{myTeam:name%stripspaces} discussion going in our weekly {sub} #offseason thread: {link}."
}
},
"TWITTER": {
"CONSUMER_KEY": "XXX",
"CONSUMER_SECRET": "XXX",
"ACCESS_TOKEN": "XXX",
"ACCESS_SECRET": "XXX"
}
}