added reconnect to twitch api
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
if (twitch_channel_name !== "") {
|
if (twitch_channel_name !== "") {
|
||||||
const client = new tmi.client({
|
const client = new tmi.client({
|
||||||
|
connection: {
|
||||||
|
reconnect: true,
|
||||||
|
secure: true,
|
||||||
|
},
|
||||||
channels: [twitch_channel_name],
|
channels: [twitch_channel_name],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user