File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const twitchLogin = async () => {
188
188
config . botUsers = { } ;
189
189
}
190
190
191
- config . botUsers [ twitchAuth . username ] = twitchAuth ;
191
+ config . botUsers [ twitchAuth . username ] = { ... twitchAuth , aiSettings : { } } ;
192
192
193
193
config . accessToken = twitchAuth . accessToken ;
194
194
config . refreshToken = twitchAuth . refreshToken ;
@@ -208,9 +208,8 @@ const twitchLoginBotUser = async () => {
208
208
config . botUsers = { } ;
209
209
}
210
210
211
- config . botUsers [ twitchAuth . username ] = twitchAuth ;
211
+ config . botUsers [ twitchAuth . username ] = { ... twitchAuth , aiSettings : { } } ;
212
212
213
- console . log ( "USER CREATED: " + JSON . stringify ( config . botUsers [ twitchAuth . username ] ) ) ;
214
213
fs . writeFileSync ( CONFIG_FILE , Buffer . from ( JSON . stringify ( config , null , 5 ) ) ) ;
215
214
} catch ( e ) {
216
215
console . error ( "Twitch logon failed: " + e ) ;
You can’t perform that action at this time.
0 commit comments