From 05293644836206b58cbaf21fdd6e395a6d537dba Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 10 Aug 2021 07:45:52 +0300 Subject: [PATCH] Update format.js --- scripts/format.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/format.js b/scripts/format.js index d6383df06..496e8c8e6 100644 --- a/scripts/format.js +++ b/scripts/format.js @@ -106,7 +106,10 @@ function addMissingData(channel) { function updateStatus(channel, status) { if (status.ok) { channel.status = null - } else if (status.reason.includes('timed out')) { + } else if ( + status.reason.includes('timed out') || + status.reason.includes('not one of 40{0,1,3,4}') + ) { // nothing } else { channel.status = 'Offline'