forked from jordbort/lemony-friend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
176 lines (169 loc) · 4.08 KB
/
config.js
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
const BOT_USERNAME = process.env.BOT_USERNAME
// Terminal colors
const resetTxt = `\x1b[0m`
const boldTxt = `\x1b[1m`
const underlined = `\x1b[4m`
const inverted = `\x1b[7m`
const blackTxt = `\x1b[30m`
const redTxt = `\x1b[31m`
const greenTxt = `\x1b[32m`
const yellowTxt = `\x1b[33m`
const blueTxt = `\x1b[34m`
const magentaTxt = `\x1b[35m`
const cyanTxt = `\x1b[36m`
const whiteTxt = `\x1b[37m`
const grayTxt = `\x1b[90m`
const orangeTxt = `\x1b[38;5;208m`
const blackBg = `\x1b[40m`
const redBg = `\x1b[41m`
const greenBg = `\x1b[42m`
const yellowBg = `\x1b[43m`
const blueBg = `\x1b[44m`
const magentaBg = `\x1b[45m`
const cyanBg = `\x1b[46m`
const whiteBg = `\x1b[47m`
const grayBg = `\x1b[100m`
const orangeBg = `\x1b[48;2;255;164;0m`
// Twitch color names and terminal color references
const chatColors = {
'#0000FF': { name: `blue`, terminalColor: blueTxt },
'#8A2BE2': { name: `blue-violet`, terminalColor: blueTxt },
'#5F9EA0': { name: `cadet blue`, terminalColor: cyanTxt },
'#D2691E': { name: `chocolate`, terminalColor: magentaTxt },
'#FF7F50': { name: `coral`, terminalColor: magentaTxt },
'#1E90FF': { name: `dodger blue`, terminalColor: cyanTxt },
'#B22222': { name: `firebrick`, terminalColor: redTxt },
'#DAA520': { name: `goldenrod`, terminalColor: yellowTxt },
'#008000': { name: `green`, terminalColor: greenTxt },
'#FF69B4': { name: `hot pink`, terminalColor: redTxt },
'#FF4500': { name: `orange-red`, terminalColor: orangeTxt },
'#FF0000': { name: `red`, terminalColor: redTxt },
'#2E8B57': { name: `sea green`, terminalColor: greenTxt },
'#00FF7F': { name: `spring green`, terminalColor: greenTxt },
'#ADFF2F': { name: `yellow-green`, terminalColor: yellowTxt }
}
// Global settings
const settings = {
debug: true,
timeLocale: `en-US`,
timeZone: `America/New_York`,
startDate: new Date(),
joinMessage: ``,
highlightBotMessage: true,
logTime: true,
hideNonDevChannel: false,
sayJoinMessage: true,
sayPartMessage: true,
firstConnection: true,
realRPS: true,
minWelcomeBackMinutes: 60,
maxWelcomeBackMinutes: 480,
funNumberCount: 25,
funNumberTotal: 60,
funTimerDuration: 1800000,
streakThreshold: 3,
streamerEmoteStreakThreshold: 4,
hangmanSignupSeconds: 30,
hangmanChances: 6,
hangmanLemonThreshold: 3,
chantCount: 8,
chantEmote: `👏️`,
ignoredBots: [
BOT_USERNAME,
`blerp`,
`buttsbot`,
`commanderroot`,
`creatisbot`,
`fossabot`,
`frostytoolsdotcom`,
`kofistreambot`,
`moobot`,
`nightbot`,
`pokemoncommunitygame`,
`rpgcommunitybot`,
`sery_bot`,
`songlistbot`,
`soundalerts`,
`sport_scores_bot`,
`streamelements`,
`streamlabs`,
`tangiabot`,
`thetarashark`,
`undertalebot`,
`uwu_twanswator`,
`wizebot`
],
baseEmotes: {
lemonEmotes: [
`🍋️`
],
neutralEmotes: [
`:)`
],
hypeEmotes: [
`:D`
],
positiveEmotes: [
`:)`
],
upsetEmotes: [
`>(`,
`:(`
],
negativeEmotes: [
`:(`,
`:O`
],
greetingEmotes: [
`HeyGuys`,
`<3`,
`FishMoley`
],
byeEmotes: [
`HeyGuys`,
`<3`
],
dumbEmotes: [
`:p`
]
},
botMood: `happy`,
autoBan: [
`Cheap Viewers on StreamBoo`,
`I want to offer promotion of your channel`
]
}
const wordBank = {
verbs: [],
nouns: [],
adjectives: []
}
module.exports = {
resetTxt,
boldTxt,
underlined,
inverted,
blackTxt,
redTxt,
greenTxt,
yellowTxt,
blueTxt,
magentaTxt,
cyanTxt,
whiteTxt,
grayTxt,
orangeTxt,
blackBg,
redBg,
greenBg,
yellowBg,
blueBg,
magentaBg,
cyanBg,
whiteBg,
grayBg,
orangeBg,
chatColors,
settings,
wordBank
}