Skip to content

Commit

Permalink
Verbose chat logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Apr 30, 2021
1 parent ada0e07 commit 13d4cad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion node/src/twitch/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class Chat {
channels: [process.env.TWITCH_CHANNEL],
requestMembershipEvents: true,
logger: {
colors: false
colors: false,
minLevel: 7
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion node/src/twitch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class Twitch {
await channelChatClient.client.quit();
} catch (err) {} finally {}
}
channelChatClient = new Chat(channelTwitchClient);
channelChatClient = new Chat(channelAuthProvider);

if (botChatClient && botChatClient.client) {
try {
Expand Down

0 comments on commit 13d4cad

Please sign in to comment.